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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 196.5 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009293, allocations: 99.11 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.783e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.429, allocations: 153.7 MB / 1.362 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.43, allocations: 86.25 kB / 1.363 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01874/1.448, allocations: 7.148 MB / 1.37 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.448, allocations: 0 / 1.37 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.149e-05/1.448, allocations: 3.906 kB / 1.37 GB, free: 32.87 MB / 0.8386 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.0007254/1.449, allocations: 494.1 kB / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.449, allocations: 11.56 kB / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/1.449, allocations: 27.38 kB / 1.37 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/1.45, allocations: 293.9 kB / 1.37 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/1.45, allocations: 6.844 kB / 1.37 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/1.45, allocations: 11.22 kB / 1.37 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001549/1.45, allocations: 54.17 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.45, allocations: 101.3 kB / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.45, allocations: 0 / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.45, allocations: 4.328 kB / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/1.45, allocations: 3.781 kB / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/1.451, allocations: 449.8 kB / 1.371 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/1.451, allocations: 102.3 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/1.451, allocations: 38.92 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/1.451, allocations: 7.812 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/1.452, allocations: 121.2 kB / 1.371 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/1.452, allocations: 0 / 1.371 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003097/1.452, allocations: 158.3 kB / 1.371 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.452, allocations: 55.22 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/1.452, allocations: 285.9 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/1.452, allocations: 33.08 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/1.452, allocations: 149.5 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/1.452, allocations: 33.06 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/1.452, allocations: 3.781 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.452, allocations: 330.7 kB / 1.372 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/1.453, allocations: 76.94 kB / 1.372 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/1.453, allocations: 120.6 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/1.453, allocations: 95.53 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.453, allocations: 0 / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003828/1.453, allocations: 252.3 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.453, allocations: 7.5 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.453, allocations: 7.953 kB / 1.373 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.453, allocations: 3.781 kB / 1.373 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/1.454, allocations: 47.27 kB / 1.373 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.454, allocations: 3.969 kB / 1.373 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/1.454, allocations: 25.61 kB / 1.373 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/1.454, allocations: 15.19 kB / 1.373 GB, free: 31.02 MB / 0.8386 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 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.454, allocations: 116.5 kB / 1.373 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/1.454, allocations: 23.25 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/1.454, allocations: 175.5 kB / 1.373 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.454, allocations: 7.766 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.454, allocations: 0 / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.454, allocations: 0 / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/1.455, allocations: 0.5032 MB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.455, allocations: 0 / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/1.455, allocations: 16.8 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/1.455, allocations: 7.828 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.455, allocations: 0 / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.455, allocations: 2.766 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.455, allocations: 0 / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/1.455, allocations: 263.1 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/1.455, allocations: 107.2 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/1.455, allocations: 3.953 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.456, allocations: 17.77 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/1.456, allocations: 20.94 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.456, allocations: 10.77 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000177/1.456, allocations: 192.4 kB / 1.374 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.456, allocations: 7.781 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003293/1.456, allocations: 61.3 kB / 1.374 GB, free: 30.2 MB / 0.8386 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000979/1.457, allocations: 362.1 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002649/1.458, allocations: 148.9 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.458, allocations: 320 / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/1.458, allocations: 65.06 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/1.458, allocations: 45.94 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/1.459, allocations: 283.8 kB / 1.375 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/1.459, allocations: 0.7669 MB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.459, allocations: 31.41 kB / 1.376 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/1.459, allocations: 22.09 kB / 1.376 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.034e-06/1.459, allocations: 3.844 kB / 1.376 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.006195/1.465, allocations: 2.687 MB / 1.379 GB, free: 28.9 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches