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.001299/0.001299, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001402/0.001402, allocations: 183 kB / 17.34 MB, free: 5.766 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.478/2.478, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7664, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003832/0.7703, allocations: 1.92 MB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.7725, allocations: 1.118 MB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.7727, allocations: 4 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.7731, allocations: 99.55 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.7736, allocations: 87.59 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.7741, allocations: 167.5 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.7745, allocations: 211.5 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.7747, allocations: 49.59 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.7749, allocations: 91.67 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.7751, allocations: 119.4 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.7752, allocations: 16 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.7753, allocations: 51.98 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.7754, allocations: 55.83 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.7756, allocations: 99.39 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.776, allocations: 262.9 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.776, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.776, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.776, allocations: 4 kB / 1.213 GB, free: 9.238 MB / 0.9356 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.001091/0.7771, allocations: 0.547 MB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7772, allocations: 8.031 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.7773, allocations: 24.66 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.7777, allocations: 291.2 kB / 1.214 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.7777, allocations: 8 kB / 1.214 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.7777, allocations: 8 kB / 1.214 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.7781, allocations: 117.6 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7781, allocations: 0 / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.7781, allocations: 19.92 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7781, allocations: 3.938 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.7784, allocations: 83.92 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.7792, allocations: 448.4 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.7795, allocations: 130.6 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.7797, allocations: 56.81 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.7798, allocations: 8 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.7801, allocations: 131.4 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.7801, allocations: 0 / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0006814/0.7808, allocations: 237.2 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.7808, allocations: 59.41 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.7812, allocations: 330.4 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.7812, allocations: 33.7 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.7813, allocations: 140.4 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.7814, allocations: 39.45 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.7815, allocations: 57.69 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7816, allocations: 338.8 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.7818, allocations: 79.95 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.7821, allocations: 142.3 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.7825, allocations: 187.8 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7825, allocations: 0 / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005859/0.7831, allocations: 277.1 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7831, allocations: 4 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.7832, allocations: 3.984 kB / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.7832, allocations: 7.938 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.7834, allocations: 44.08 kB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7834, allocations: 3.984 kB / 1.216 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.7836, allocations: 27.83 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.7836, allocations: 12 kB / 1.216 GB, free: 5.141 MB / 0.9356 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.0001784/0.7838, allocations: 157.8 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.7839, allocations: 27.59 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.784, allocations: 30.17 kB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.784, allocations: 8 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.784, allocations: 0 / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.784, allocations: 0 / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.7849, allocations: 0.5515 MB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7849, allocations: 0 / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.785, allocations: 15.98 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.785, allocations: 0 / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.785, allocations: 8 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7851, allocations: 4 kB / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7851, allocations: 0 / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.7856, allocations: 298.9 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.7857, allocations: 100.9 kB / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.7857, allocations: 0 / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.7859, allocations: 19.98 kB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.786, allocations: 19.97 kB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.786, allocations: 4 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002061/0.7862, allocations: 213.9 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7862, allocations: 0 / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003532/0.7866, allocations: 55.83 kB / 1.218 GB, free: 3.551 MB / 0.9356 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.001086/0.7876, allocations: 422.7 kB / 1.218 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.7882, allocations: 182.1 kB / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7882, allocations: 0 / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.7884, allocations: 75.84 kB / 1.219 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.7888, allocations: 58.28 kB / 1.219 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.7896, allocations: 422 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.7899, allocations: 0.7519 MB / 1.22 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.79, allocations: 23.44 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.79, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of Templates: time 0.005732/0.7957, allocations: 3.285 MB / 1.223 GB, free: 14.47 MB / 0.9512 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