Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.936/1.936, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 3.984 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.483e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002746/0.002771, allocations: 1.972 MB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.004383, allocations: 1.249 MB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.004508, allocations: 4 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.004875, allocations: 97.03 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.005238, allocations: 139.8 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.005545, allocations: 140.5 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.005821, allocations: 219.4 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.005969, allocations: 33.78 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.006135, allocations: 141.2 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.006266, allocations: 87.77 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.006294, allocations: 12 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.006419, allocations: 59.91 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.0065, allocations: 70.34 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.006562, allocations: 51.78 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.006847, allocations: 199.2 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.006851, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006852, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.006857, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 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.0006593/0.007516, allocations: 0.57 MB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.007556, allocations: 8.031 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.007624, allocations: 33.52 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.00791, allocations: 224.3 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.007935, allocations: 15.92 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.007956, allocations: 13.66 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.008151, allocations: 98.33 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.008163, allocations: 0 / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.008179, allocations: 11.98 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.008187, allocations: 0.5938 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.008266, allocations: 44.67 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.008952, allocations: 416.7 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.009126, allocations: 100.4 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.009173, allocations: 27.67 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.009192, allocations: 4 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.009339, allocations: 113.5 kB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.009341, allocations: 0 / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000299/0.00964, allocations: 173.4 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.009676, allocations: 55.41 kB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.009896, allocations: 329 kB / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.009915, allocations: 33.7 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.01, allocations: 185.5 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.01004, allocations: 43.69 kB / 0.8183 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.0101, allocations: 59.36 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.01023, allocations: 0.5118 MB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.0103, allocations: 31.97 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.01039, allocations: 100.8 kB / 0.819 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.01053, allocations: 131.9 kB / 0.8191 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01053, allocations: 0 / 0.8191 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002343/0.01077, allocations: 200.8 kB / 0.8193 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01079, allocations: 11.14 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01079, allocations: 0 / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.01081, allocations: 8.438 kB / 0.8193 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01095, allocations: 41.36 kB / 0.8194 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01096, allocations: 7.938 kB / 0.8194 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.01103, allocations: 23.88 kB / 0.8194 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.01105, allocations: 12.5 kB / 0.8194 GB, free: 9.441 MB / 0.7761 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.0001015/0.01115, allocations: 185.3 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.01118, allocations: 23.86 kB / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.01141, allocations: 156.6 kB / 0.8197 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01141, allocations: 7.938 kB / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01142, allocations: 3.688 kB / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01142, allocations: 0 / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.01186, allocations: 0.4896 MB / 0.8202 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01186, allocations: 3.938 kB / 0.8202 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.01191, allocations: 15.92 kB / 0.8203 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01191, allocations: 4 kB / 0.8203 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01192, allocations: 4 kB / 0.8203 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01192, allocations: 0 / 0.8203 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01193, allocations: 0 / 0.8203 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.01214, allocations: 315.3 kB / 0.8206 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01216, allocations: 27.75 kB / 0.8206 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01219, allocations: 4 kB / 0.8206 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.01226, allocations: 15.97 kB / 0.8206 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.01232, allocations: 20.97 kB / 0.8206 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01233, allocations: 4 kB / 0.8206 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001189/0.01245, allocations: 213.1 kB / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01245, allocations: 1.062 kB / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002324/0.01268, allocations: 51.88 kB / 0.8209 GB, free: 7.855 MB / 0.7761 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 (17): * Single equations (assignments): 12 * 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.0009156/0.0136, allocations: 407 kB / 0.8213 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.01381, allocations: 115.8 kB / 0.8214 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01382, allocations: 0 / 0.8214 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.01389, allocations: 51.67 kB / 0.8214 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01418, allocations: 63.27 kB / 0.8215 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.01472, allocations: 375.2 kB / 0.8219 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.501e-05/0.01477, allocations: 88.31 kB / 0.8219 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.641e-05/0.01484, allocations: 37.92 kB / 0.822 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.01489, allocations: 20.5 kB / 0.822 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.0149, allocations: 4 kB / 0.822 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of Templates: time 0.00601/0.02091, allocations: 3.309 MB / 0.8252 GB, free: 3.559 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.457168652676046]