Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 180.9 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 97.84 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.565e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7448/0.9826, allocations: 136 MB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.983, allocations: 80.02 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01842/1.001, allocations: 6.798 MB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.442e-06/1.001, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.001, allocations: 4 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006806/1.002, allocations: 0.4889 MB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.002, allocations: 15.97 kB / 1.025 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/1.002, allocations: 27.7 kB / 1.025 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/1.003, allocations: 290.8 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.003, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/1.003, allocations: 8 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001449/1.003, allocations: 61.91 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/1.003, allocations: 119.1 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.003, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.003, allocations: 4 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/1.003, allocations: 4 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/1.004, allocations: 0.5163 MB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/1.004, allocations: 102.2 kB / 1.026 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/1.004, allocations: 44.39 kB / 1.026 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/1.004, allocations: 0 / 1.026 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/1.004, allocations: 114.5 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/1.004, allocations: 0 / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003195/1.005, allocations: 159.3 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/1.005, allocations: 51.41 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/1.005, allocations: 291.6 kB / 1.027 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/1.005, allocations: 25.7 kB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/1.005, allocations: 143.7 kB / 1.027 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.005, allocations: 42.55 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/1.005, allocations: 0 / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.006, allocations: 335.9 kB / 1.027 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/1.006, allocations: 71.42 kB / 1.028 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/1.006, allocations: 138.4 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/1.006, allocations: 77.41 kB / 1.028 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.006, allocations: 7.984 kB / 1.028 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003494/1.006, allocations: 250.2 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.006, allocations: 8 kB / 1.028 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.006, allocations: 0 / 1.028 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.006, allocations: 8.188 kB / 1.028 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/1.007, allocations: 54.86 kB / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.007, allocations: 0 / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/1.007, allocations: 27.83 kB / 1.028 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/1.007, allocations: 15.3 kB / 1.028 GB, free: 8.938 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$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,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 9.423e-05/1.007, allocations: 122.7 kB / 1.028 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/1.007, allocations: 23.7 kB / 1.028 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.007, allocations: 171.6 kB / 1.028 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.007, allocations: 7.938 kB / 1.028 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.007, allocations: 3.953 kB / 1.028 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.007, allocations: 3.938 kB / 1.028 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/1.008, allocations: 0.4897 MB / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.008, allocations: 4 kB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.008, allocations: 26.98 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.008, allocations: 0 / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.008, allocations: 7.953 kB / 1.029 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.008, allocations: 0 / 1.029 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.008, allocations: 3.984 kB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/1.008, allocations: 254.4 kB / 1.029 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/1.008, allocations: 111.9 kB / 1.029 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/1.008, allocations: 0 / 1.029 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.009, allocations: 19.94 kB / 1.029 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.009, allocations: 18.91 kB / 1.029 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.009, allocations: 7 kB / 1.029 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001622/1.009, allocations: 193.9 kB / 1.03 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 0 / 1.03 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003055/1.009, allocations: 55.53 kB / 1.03 GB, free: 7.535 MB / 0.6511 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.0007763/1.01, allocations: 360.8 kB / 1.03 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002568/1.01, allocations: 155.7 kB / 1.03 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.01, allocations: 0 / 1.03 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/1.01, allocations: 58.23 kB / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/1.011, allocations: 45.47 kB / 1.03 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/1.011, allocations: 288.9 kB / 1.03 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/1.012, allocations: 0.7591 MB / 1.031 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001202/1.012, allocations: 38.05 kB / 1.031 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/1.012, allocations: 26.23 kB / 1.031 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.012, allocations: 4 kB / 1.031 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of Templates: time 0.005752/1.018, allocations: 2.561 MB / 1.034 GB, free: 3.422 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches