Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.001637/0.001637, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001844/0.001844, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 71.89 kB / 0.9515 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.856/0.8584, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002883/0.8613, allocations: 1.917 MB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.8629, allocations: 1.12 MB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.8631, allocations: 2.094 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.8634, allocations: 98.23 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.8637, allocations: 89.45 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.8641, allocations: 162.4 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.8644, allocations: 217.9 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.8646, allocations: 52.89 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.8647, allocations: 99.39 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.8649, allocations: 103 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.8649, allocations: 12.38 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.8651, allocations: 62.66 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.8652, allocations: 62.12 kB / 1.093 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.8653, allocations: 89.94 kB / 1.093 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.8656, allocations: 268.4 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.8656, allocations: 0.5938 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8656, allocations: 0 / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8657, allocations: 0.75 kB / 1.093 GB, free: 2.777 MB / 0.8575 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.0007949/0.8665, allocations: 0.5375 MB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.8665, allocations: 9.641 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.8666, allocations: 27.94 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.8669, allocations: 295.1 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.8669, allocations: 9.266 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.867, allocations: 11.97 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.8673, allocations: 119.5 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8673, allocations: 4.656 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.8673, allocations: 5.625 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.8673, allocations: 1.875 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.8676, allocations: 93.83 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.8683, allocations: 444.9 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.8686, allocations: 140.4 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.8688, allocations: 54.3 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.8688, allocations: 5.422 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.8691, allocations: 125.7 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.185e-06/0.8691, allocations: 0 / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006737/0.8698, allocations: 252.4 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.8699, allocations: 55.36 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.8702, allocations: 331.5 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.8703, allocations: 31.55 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.8703, allocations: 134.8 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.8704, allocations: 37.25 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.8705, allocations: 71.38 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.8705, allocations: 337.6 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.8708, allocations: 79.64 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.871, allocations: 129.4 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.8714, allocations: 195.1 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8715, allocations: 1.25 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005691/0.872, allocations: 279 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8721, allocations: 6.75 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8721, allocations: 1.953 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.8721, allocations: 1.781 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.8723, allocations: 46.28 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8723, allocations: 7.828 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.8725, allocations: 30.3 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.8725, allocations: 8.359 kB / 1.097 GB, free: 196 kB / 0.8575 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.000139/0.8727, allocations: 162.6 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.8727, allocations: 22.56 kB / 1.097 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.8728, allocations: 25.59 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8728, allocations: 2.281 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8728, allocations: 0 / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8728, allocations: 5.484 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.8738, allocations: 0.552 MB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8739, allocations: 0.5938 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.874, allocations: 14.86 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.874, allocations: 1.188 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.874, allocations: 6.25 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.874, allocations: 5.906 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.874, allocations: 7.984 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.8745, allocations: 294 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.8746, allocations: 99.33 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.8746, allocations: 6.828 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8748, allocations: 13.73 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.8749, allocations: 24.17 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.8749, allocations: 5.656 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002339/0.8751, allocations: 209.9 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8752, allocations: 0 / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003435/0.8755, allocations: 58.33 kB / 1.098 GB, free: 15.17 MB / 0.8731 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.0009807/0.8765, allocations: 418.2 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.877, allocations: 186.5 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.877, allocations: 0 / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.8772, allocations: 78.88 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.8777, allocations: 52.27 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.8784, allocations: 426.2 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.8788, allocations: 0.7455 MB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.8789, allocations: 27.84 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of SimCode: time 3.7e-07/0.8789, allocations: 0.875 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.006709/0.8856, allocations: 3.278 MB / 1.103 GB, free: 13.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches