Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002011/0.002011, allocations: 196 kB / 16.14 MB, free: 6.727 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.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 461.8 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 70.56 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3734, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002082/0.3755, allocations: 0.7681 MB / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.3765, allocations: 0.839 MB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.3765, allocations: 0 / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.3766, allocations: 11.92 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.3766, allocations: 3.938 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.3768, allocations: 19.98 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.3769, allocations: 47.84 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.377, allocations: 11.98 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.3771, allocations: 19.92 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.3772, allocations: 19.92 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3772, allocations: 4 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.3772, allocations: 4 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.3772, allocations: 15.91 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.3773, allocations: 11.94 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.3774, allocations: 43.86 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3774, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3774, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3774, allocations: 4 kB / 1.054 GB, free: 7.035 MB / 0.8106 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.0005427/0.3779, allocations: 355.6 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.378, allocations: 16.03 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.378, allocations: 0.9375 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3782, allocations: 180.2 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3782, allocations: 8.312 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3782, allocations: 4.375 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3784, allocations: 65.78 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3785, allocations: 4 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3787, allocations: 51.95 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3792, allocations: 296.6 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3794, allocations: 58.55 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3795, allocations: 40.91 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3795, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3795, allocations: 30.56 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.3795, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000422/0.38, allocations: 105.6 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.38, allocations: 59.41 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.3801, allocations: 109.8 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3801, allocations: 25.7 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.3802, allocations: 88.2 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3802, allocations: 15.8 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3803, allocations: 17.72 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3804, allocations: 314.8 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3805, allocations: 23.97 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.3806, allocations: 31.97 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3808, allocations: 48.83 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3808, allocations: 7.922 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000245/0.381, allocations: 73.98 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3811, allocations: 11.94 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3811, allocations: 4 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3811, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3812, allocations: 11.98 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3812, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.3813, allocations: 11.98 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3813, allocations: 7.984 kB / 1.056 GB, free: 4.773 MB / 0.8106 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,intGreEquThr.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 7.6e-05/0.3814, allocations: 115.2 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.3815, allocations: 15.89 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3815, allocations: 11.91 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3815, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3815, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3815, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.3817, allocations: 181.5 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3817, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.3818, allocations: 15.92 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3818, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3818, allocations: 4 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3818, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3818, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.3822, allocations: 187.4 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.3823, allocations: 81.02 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3823, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3824, allocations: 7.984 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.3825, allocations: 11.98 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3825, allocations: 4 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.3826, allocations: 87.27 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3826, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000227/0.3828, allocations: 12 kB / 1.057 GB, free: 3.957 MB / 0.8106 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 (intGreEquThr.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.0001363/0.3829, allocations: 103.1 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3832, allocations: 55.94 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3832, allocations: 0 / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3833, allocations: 35.98 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3836, allocations: 3.984 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.384, allocations: 143.2 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3843, allocations: 0.6809 MB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.3843, allocations: 7.984 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.3844, allocations: 15.44 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3844, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of Templates: time 0.00271/0.3871, allocations: 0.7775 MB / 1.058 GB, free: 2.086 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches