Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00928/0.00928, allocations: 101.1 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.001787/0.001787, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 68.12 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3529, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00364/0.3566, allocations: 1.916 MB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3587, allocations: 1.118 MB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3589, allocations: 4 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.3593, allocations: 95.56 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.3597, allocations: 95.59 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3601, allocations: 160.9 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.3605, allocations: 211.5 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3607, allocations: 45.67 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3609, allocations: 103.6 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3611, allocations: 111.5 kB / 1.212 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.3611, allocations: 12 kB / 1.212 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3613, allocations: 51.98 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.3613, allocations: 55.83 kB / 1.212 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.3614, allocations: 95.39 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3618, allocations: 271 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3618, allocations: 4 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3618, allocations: 4 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3618, allocations: 0 / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008983/0.3627, allocations: 0.5412 MB / 1.213 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3628, allocations: 8.625 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.3628, allocations: 24.66 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.3632, allocations: 291.2 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3632, allocations: 8 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3633, allocations: 23.92 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3636, allocations: 111.7 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3636, allocations: 0 / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3636, allocations: 11.92 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3636, allocations: 0 / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.3639, allocations: 91.86 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.3646, allocations: 448.4 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.365, allocations: 134.6 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3651, allocations: 52.81 kB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3652, allocations: 8 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.3654, allocations: 126 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3654, allocations: 0 / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0006376/0.3661, allocations: 249.1 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3662, allocations: 63.34 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.3665, allocations: 326.5 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3665, allocations: 33.7 kB / 1.214 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.3666, allocations: 144.4 kB / 1.215 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.3667, allocations: 39.45 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.3668, allocations: 61.69 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3669, allocations: 338.8 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3671, allocations: 79.95 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3674, allocations: 130.8 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.3678, allocations: 195 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3678, allocations: 0 / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005654/0.3683, allocations: 277.2 kB / 1.216 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3684, allocations: 4 kB / 1.216 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3684, allocations: 3.984 kB / 1.216 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3684, allocations: 4 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.3686, allocations: 43.92 kB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3686, allocations: 3.984 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3688, allocations: 23.89 kB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.3688, allocations: 8 kB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001538/0.369, allocations: 161.8 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.369, allocations: 27.66 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.3691, allocations: 26.17 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3691, allocations: 0 / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3691, allocations: 0 / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3691, allocations: 0 / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008083/0.3699, allocations: 0.5567 MB / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3699, allocations: 3.984 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.37, allocations: 15.98 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.37, allocations: 3.938 kB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.3701, allocations: 8 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3701, allocations: 3.938 kB / 1.217 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3701, allocations: 0 / 1.217 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.3706, allocations: 301.7 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.3707, allocations: 104.8 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.3707, allocations: 4 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3709, allocations: 15.98 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.3709, allocations: 23.97 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.371, allocations: 4 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002082/0.3712, allocations: 209.9 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3712, allocations: 0 / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003285/0.3715, allocations: 51.98 kB / 1.217 GB, free: 15.63 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001011/0.3725, allocations: 411.5 kB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004892/0.373, allocations: 190 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.373, allocations: 4.312 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3732, allocations: 71.91 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3737, allocations: 51.8 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.3744, allocations: 396.2 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3748, allocations: 0.7518 MB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.3749, allocations: 37.92 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.375, allocations: 27.42 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.375, allocations: 0 / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.007128/0.3821, allocations: 3.048 MB / 1.222 GB, free: 10.79 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches