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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008701/0.0008701, allocations: 92.47 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 177.2 kB / 16.92 MB, free: 6.652 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 462.6 MB / 0.737 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 13.69 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3556, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002709/0.3583, allocations: 1.628 MB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3603, allocations: 1.084 MB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3605, allocations: 7.938 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.3609, allocations: 87.73 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.3613, allocations: 75.73 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.3617, allocations: 149.9 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.3621, allocations: 199.5 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3622, allocations: 41.66 kB / 1.063 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.3624, allocations: 83.56 kB / 1.063 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3626, allocations: 95.53 kB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3626, allocations: 7.938 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3628, allocations: 51.95 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.3628, allocations: 51.83 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.363, allocations: 105.1 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.3632, allocations: 199.8 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3633, allocations: 3.984 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3633, allocations: 0 / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3633, allocations: 0 / 1.063 GB, free: 1.039 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009341/0.3642, allocations: 0.5103 MB / 1.064 GB, free: 492 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3643, allocations: 11.97 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.3643, allocations: 24.66 kB / 1.064 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.3647, allocations: 287.4 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3648, allocations: 8 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3648, allocations: 12 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.3651, allocations: 128 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3651, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3652, allocations: 7.938 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3652, allocations: 4 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.3655, allocations: 91.92 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.3662, allocations: 456.4 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.3666, allocations: 134.6 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3668, allocations: 64.81 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3668, allocations: 4 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.3671, allocations: 144.9 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.3671, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006882/0.3678, allocations: 267.3 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3679, allocations: 55.41 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.3682, allocations: 322.6 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3682, allocations: 33.7 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.3683, allocations: 140.3 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3684, allocations: 43.55 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3684, allocations: 33.7 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3686, allocations: 334.8 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.3688, allocations: 91.89 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.3691, allocations: 137.1 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.3695, allocations: 191.1 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3695, allocations: 3.938 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005755/0.3701, allocations: 293.1 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3701, allocations: 4 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3701, allocations: 11.98 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3701, allocations: 3.938 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3703, allocations: 43.92 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3703, allocations: 8.141 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3705, allocations: 27.89 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.3705, allocations: 12 kB / 1.067 GB, free: 12.91 MB / 0.8262 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.0001414/0.3707, allocations: 157.5 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3707, allocations: 23.66 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.3708, allocations: 26.17 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3708, allocations: 4 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3708, allocations: 4 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3708, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/0.3717, allocations: 0.5684 MB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3717, allocations: 0 / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.3718, allocations: 23.86 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3718, allocations: 0 / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3718, allocations: 4 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3718, allocations: 4 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3718, allocations: 0 / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.3723, allocations: 305.7 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.3724, allocations: 104.8 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3724, allocations: 8 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3726, allocations: 11.98 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.3726, allocations: 23.97 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3727, allocations: 4 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002088/0.3729, allocations: 213.9 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3729, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003237/0.3732, allocations: 43.94 kB / 1.068 GB, free: 11.3 MB / 0.8262 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.001028/0.3742, allocations: 433.6 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.3748, allocations: 187.8 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.3748, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.375, allocations: 91.09 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3754, allocations: 50.45 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.3762, allocations: 486.6 kB / 1.07 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3765, allocations: 0.756 MB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.3766, allocations: 27.36 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3766, allocations: 0 / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.00579/0.3824, allocations: 3.216 MB / 1.073 GB, free: 6.191 MB / 0.8262 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/jenkins1/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