Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009317/0.009317, allocations: 97.25 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002509/0.002509, allocations: 204.6 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00188/0.3148, allocations: 0.7149 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009976/0.3158, allocations: 0.8234 MB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.3158, allocations: 0 / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.3159, allocations: 3.938 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.316, allocations: 7.875 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3161, allocations: 31.91 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.699e-05/0.3162, allocations: 47.84 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3163, allocations: 19.98 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.3164, allocations: 15.98 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.3165, allocations: 27.84 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3165, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.3165, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.3165, allocations: 11.98 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.3166, allocations: 19.88 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.3167, allocations: 47.84 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3167, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3167, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3167, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005552/0.3172, allocations: 365.2 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3173, allocations: 12.03 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3173, allocations: 34.75 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.3174, allocations: 8.891 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3175, allocations: 172.3 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3175, allocations: 4.375 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3176, allocations: 8.125 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.3178, allocations: 65.66 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3178, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3178, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3178, allocations: 3.938 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.318, allocations: 51.95 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.3185, allocations: 300.7 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3187, allocations: 62.55 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3188, allocations: 28.91 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3189, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3189, allocations: 38.56 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3189, allocations: 0 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004258/0.3193, allocations: 109.6 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.3194, allocations: 55.39 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.3195, allocations: 105.8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3195, allocations: 25.7 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3196, allocations: 96.08 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3196, allocations: 7.953 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3196, allocations: 21.7 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3198, allocations: 318.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3199, allocations: 23.98 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.32, allocations: 23.97 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.3202, allocations: 61.02 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3202, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002905/0.3205, allocations: 93.53 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3205, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3206, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3206, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3207, allocations: 11.98 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3207, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.3208, allocations: 11.98 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3208, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.3209, allocations: 113.8 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.3209, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.321, allocations: 7.906 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.321, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.321, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.321, allocations: 7.922 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.3212, allocations: 177.5 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3212, allocations: 8 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.3213, allocations: 11.92 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3213, allocations: 4 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3213, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3213, allocations: 7.984 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3213, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3216, allocations: 183.4 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3217, allocations: 81.06 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3217, allocations: 4 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3218, allocations: 7.984 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.3219, allocations: 11.98 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3219, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.322, allocations: 91.22 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.322, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002244/0.3222, allocations: 7.938 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007625/0.323, allocations: 0.7285 MB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3232, allocations: 47.95 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3233, allocations: 4 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3234, allocations: 39.91 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3237, allocations: 6.359 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3254, allocations: 1.331 MB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3257, allocations: 0.6807 MB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.3258, allocations: 8 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.3259, allocations: 23.36 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3259, allocations: 0 / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3489, allocations: 1.853 MB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.506, allocations: 10.94 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches