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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001202/0.001202, allocations: 100.1 kB / 15.88 MB, free: 12 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.001254/0.001254, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7611, allocations: 140.3 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002907/0.764, allocations: 1.976 MB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.7661, allocations: 1.105 MB / 0.9526 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.7663, allocations: 10.09 kB / 0.9526 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.7667, allocations: 82.27 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.7669, allocations: 80.91 kB / 0.9528 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.7673, allocations: 138 kB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.7675, allocations: 201.6 kB / 0.9531 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.7677, allocations: 53.83 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.7678, allocations: 91.61 kB / 0.9532 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.768, allocations: 98.12 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.768, allocations: 6.375 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.7682, allocations: 57.08 kB / 0.9534 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.7682, allocations: 51.8 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.7683, allocations: 83.36 kB / 0.9535 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.7686, allocations: 207.5 kB / 0.9537 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7686, allocations: 0 / 0.9537 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7686, allocations: 0 / 0.9537 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.7686, allocations: 1.062 kB / 0.9537 GB, free: 6.051 MB / 0.7169 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.000808/0.7694, allocations: 0.5424 MB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7695, allocations: 8.656 kB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.7695, allocations: 28.2 kB / 0.9543 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.7698, allocations: 295.1 kB / 0.9546 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.7699, allocations: 12.72 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.7699, allocations: 15.23 kB / 0.9546 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.7702, allocations: 119.2 kB / 0.9547 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7702, allocations: 1.156 kB / 0.9547 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.7702, allocations: 9.125 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.7702, allocations: 2.188 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.7705, allocations: 82.14 kB / 0.9548 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.7711, allocations: 447.4 kB / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.7715, allocations: 131.7 kB / 0.9553 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.7716, allocations: 51.27 kB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.7717, allocations: 10.8 kB / 0.9554 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.7719, allocations: 133.9 kB / 0.9555 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.772, allocations: 4 kB / 0.9555 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006247/0.7726, allocations: 238.3 kB / 0.9558 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.7726, allocations: 61.8 kB / 0.9558 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.7729, allocations: 328.3 kB / 0.9561 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7729, allocations: 36.47 kB / 0.9562 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.773, allocations: 130.3 kB / 0.9563 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.773, allocations: 42.27 kB / 0.9563 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.7731, allocations: 56.12 kB / 0.9564 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.7732, allocations: 337.7 kB / 0.9567 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.7734, allocations: 86.36 kB / 0.9568 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.7736, allocations: 135.8 kB / 0.9569 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.774, allocations: 182.3 kB / 0.9571 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.774, allocations: 7.938 kB / 0.9571 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005312/0.7745, allocations: 278 kB / 0.9574 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7746, allocations: 5.719 kB / 0.9574 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7746, allocations: 1.219 kB / 0.9574 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7746, allocations: 3.344 kB / 0.9574 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.7748, allocations: 46.19 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.7748, allocations: 2.219 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.775, allocations: 26.33 kB / 0.9574 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.775, allocations: 11.78 kB / 0.9575 GB, free: 3.074 MB / 0.7169 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.0001288/0.7751, allocations: 155.2 kB / 0.9576 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.7752, allocations: 24.66 kB / 0.9576 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.7752, allocations: 27.14 kB / 0.9577 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7753, allocations: 1.781 kB / 0.9577 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7753, allocations: 4 kB / 0.9577 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7753, allocations: 3.984 kB / 0.9577 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.776, allocations: 0.5495 MB / 0.9582 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.776, allocations: 1.375 kB / 0.9582 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.7761, allocations: 13.61 kB / 0.9582 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7761, allocations: 9.25 kB / 0.9582 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.7761, allocations: 9.375 kB / 0.9582 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7761, allocations: 0 / 0.9582 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7761, allocations: 1.375 kB / 0.9582 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.7765, allocations: 290.8 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.7766, allocations: 109.6 kB / 0.9586 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.7766, allocations: 2.125 kB / 0.9586 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.7767, allocations: 20.08 kB / 0.9586 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.7768, allocations: 18.22 kB / 0.9587 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.7768, allocations: 4.938 kB / 0.9587 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001689/0.777, allocations: 208.6 kB / 0.9589 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.81e-07/0.777, allocations: 0 / 0.9589 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003104/0.7773, allocations: 55.78 kB / 0.9589 GB, free: 1.922 MB / 0.7169 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.0009673/0.7783, allocations: 426.5 kB / 0.9593 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.7788, allocations: 186.3 kB / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7788, allocations: 0 / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.779, allocations: 73.95 kB / 0.9596 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.7794, allocations: 52.08 kB / 0.9596 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.7801, allocations: 487.1 kB / 0.9601 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.7803, allocations: 0.7507 MB / 0.9608 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.7803, allocations: 29.27 kB / 0.9608 GB, free: 488 kB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7803, allocations: 3.938 kB / 0.9608 GB, free: 484 kB / 0.7169 GB Notification: Performance of Templates: time 0.005077/0.7854, allocations: 3.23 MB / 0.964 GB, free: 14.81 MB / 0.7325 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