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.475/1.475, allocations: 249.3 MB / 261.8 MB, free: 5.883 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.001221/0.001221, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008211/0.0008212, allocations: 86.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.779e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.222, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6851/0.9072, allocations: 135.7 MB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.9075, allocations: 85.19 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.926, allocations: 6.862 MB / 1.031 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9261, allocations: 0 / 1.031 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.9261, allocations: 4 kB / 1.031 GB, free: 9.215 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.0007214/0.9268, allocations: 492 kB / 1.032 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.9269, allocations: 12.03 kB / 1.032 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.927, allocations: 19.72 kB / 1.032 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.9274, allocations: 295 kB / 1.032 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.9274, allocations: 7.5 kB / 1.032 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.9275, allocations: 11.75 kB / 1.032 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.9277, allocations: 130.7 kB / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.9277, allocations: 0 / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.9278, allocations: 3.984 kB / 1.032 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.9278, allocations: 4 kB / 1.032 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.9279, allocations: 60.05 kB / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.9288, allocations: 0.5593 MB / 1.033 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.929, allocations: 115.1 kB / 1.033 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.9291, allocations: 42.66 kB / 1.033 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.9291, allocations: 4 kB / 1.033 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.9293, allocations: 118.1 kB / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.614e-06/0.9293, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003425/0.9297, allocations: 167.7 kB / 1.033 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.9297, allocations: 51.41 kB / 1.033 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.93, allocations: 297.9 kB / 1.033 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.9301, allocations: 36.39 kB / 1.033 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.9302, allocations: 136.4 kB / 1.034 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.9302, allocations: 42.22 kB / 1.034 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.9302, allocations: 10.81 kB / 1.034 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9304, allocations: 337.2 kB / 1.034 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.9305, allocations: 76.67 kB / 1.034 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.9307, allocations: 135 kB / 1.034 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.9308, allocations: 97.83 kB / 1.034 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9308, allocations: 0 / 1.034 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004013/0.9312, allocations: 272.8 kB / 1.034 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9313, allocations: 4 kB / 1.034 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9313, allocations: 7.953 kB / 1.034 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.9313, allocations: 8.188 kB / 1.035 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.9315, allocations: 47.34 kB / 1.035 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.9316, allocations: 7.984 kB / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.9317, allocations: 31.27 kB / 1.035 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.9318, allocations: 10.75 kB / 1.035 GB, free: 5.891 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 0.0001025/0.9319, allocations: 125.2 kB / 1.035 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.9319, allocations: 27.16 kB / 1.035 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.9323, allocations: 189 kB / 1.035 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.9323, allocations: 7.953 kB / 1.035 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9323, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9323, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.9329, allocations: 0.5336 MB / 1.035 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.933, allocations: 3.953 kB / 1.035 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.9331, allocations: 19.98 kB / 1.035 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9331, allocations: 4 kB / 1.035 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.9331, allocations: 7.422 kB / 1.035 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9331, allocations: 0 / 1.035 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.9331, allocations: 0 / 1.035 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.9334, allocations: 266.5 kB / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.9335, allocations: 112.1 kB / 1.036 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.9336, allocations: 11.44 kB / 1.036 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.9337, allocations: 11.98 kB / 1.036 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.9338, allocations: 22.91 kB / 1.036 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.9338, allocations: 4 kB / 1.036 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002074/0.934, allocations: 207 kB / 1.036 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.934, allocations: 0 / 1.036 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003427/0.9344, allocations: 58.03 kB / 1.036 GB, free: 4.418 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.001043/0.9354, allocations: 405.9 kB / 1.037 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.9358, allocations: 160.7 kB / 1.037 GB, free: 4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9358, allocations: 0 / 1.037 GB, free: 4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.9359, allocations: 57.38 kB / 1.037 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.9363, allocations: 43.27 kB / 1.037 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.9369, allocations: 306.9 kB / 1.037 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.9373, allocations: 0.7553 MB / 1.038 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.9375, allocations: 34.06 kB / 1.038 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.9375, allocations: 23.06 kB / 1.038 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.9376, allocations: 0 / 1.038 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.006177/0.9437, allocations: 2.741 MB / 1.041 GB, free: 108 kB / 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