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.001565/0.001565, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001458/0.001458, allocations: 167.4 kB / 24.86 MB, free: 9.23 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.919/1.919, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] 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.054e-06/2.054e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.72e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003062/0.00309, allocations: 1.953 MB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.004689, allocations: 1.236 MB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.004816, allocations: 4.812 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.005184, allocations: 92.34 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.005577, allocations: 148.9 kB / 0.8161 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.005923, allocations: 135.4 kB / 0.8163 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.006217, allocations: 227.4 kB / 0.8165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.00635, allocations: 35.31 kB / 0.8165 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.006896, allocations: 169.2 kB / 0.8167 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.007043, allocations: 87.75 kB / 0.8168 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.00707, allocations: 16 kB / 0.8168 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.007187, allocations: 57.28 kB / 0.8168 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.007257, allocations: 63.77 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.007316, allocations: 55.77 kB / 0.8169 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.007624, allocations: 204.9 kB / 0.8171 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.007628, allocations: 0 / 0.8171 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.00763, allocations: 0 / 0.8171 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.007635, allocations: 0 / 0.8171 GB, free: 13.02 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.0005948/0.008229, allocations: 0.5617 MB / 0.8177 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.00826, allocations: 17.06 kB / 0.8177 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.008319, allocations: 36.78 kB / 0.8177 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.008562, allocations: 224.5 kB / 0.818 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.008581, allocations: 12.12 kB / 0.818 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.008598, allocations: 8 kB / 0.818 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.008763, allocations: 97.23 kB / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.008772, allocations: 0 / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.008784, allocations: 10.38 kB / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.008789, allocations: 0 / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.008846, allocations: 43.83 kB / 0.8181 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.009301, allocations: 368.2 kB / 0.8185 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.009441, allocations: 91.59 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.009476, allocations: 20.41 kB / 0.8186 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.009492, allocations: 8.516 kB / 0.8186 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.009612, allocations: 100.9 kB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.009614, allocations: 0 / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002428/0.009856, allocations: 161.4 kB / 0.8188 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.009897, allocations: 60.03 kB / 0.8189 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.0101, allocations: 316.1 kB / 0.8192 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01012, allocations: 34.39 kB / 0.8192 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.01021, allocations: 199.1 kB / 0.8194 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.01025, allocations: 44.36 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.01032, allocations: 63.81 kB / 0.8195 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01045, allocations: 0.5156 MB / 0.82 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.01051, allocations: 24.77 kB / 0.82 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.01058, allocations: 90.88 kB / 0.8201 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.0107, allocations: 126.5 kB / 0.8203 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.0107, allocations: 0 / 0.8203 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002132/0.01092, allocations: 186.6 kB / 0.8204 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01093, allocations: 8 kB / 0.8204 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01094, allocations: 0 / 0.8204 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01095, allocations: 4 kB / 0.8204 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.01108, allocations: 43.92 kB / 0.8205 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01108, allocations: 11.92 kB / 0.8205 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.01115, allocations: 19.14 kB / 0.8205 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01116, allocations: 8 kB / 0.8205 GB, free: 9.332 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.0001064/0.01127, allocations: 184.2 kB / 0.8207 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.0113, allocations: 27.86 kB / 0.8207 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.0115, allocations: 148.3 kB / 0.8209 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.0115, allocations: 4 kB / 0.8209 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.0115, allocations: 5.125 kB / 0.8209 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01151, allocations: 0 / 0.8209 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.0119, allocations: 443.7 kB / 0.8213 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0119, allocations: 0.5938 kB / 0.8213 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.01195, allocations: 24.48 kB / 0.8213 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01195, allocations: 0 / 0.8213 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.01196, allocations: 5.562 kB / 0.8213 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01196, allocations: 7.984 kB / 0.8213 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01196, allocations: 0 / 0.8213 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01219, allocations: 294 kB / 0.8216 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.01222, allocations: 32.94 kB / 0.8216 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01224, allocations: 7.922 kB / 0.8217 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.01231, allocations: 11.94 kB / 0.8217 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.01235, allocations: 21.06 kB / 0.8217 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01236, allocations: 7.984 kB / 0.8217 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001021/0.01247, allocations: 205 kB / 0.8219 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01247, allocations: 0.6562 kB / 0.8219 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002381/0.0127, allocations: 55.92 kB / 0.8219 GB, free: 7.82 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.00102/0.01372, allocations: 401.7 kB / 0.8223 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.01393, allocations: 102.3 kB / 0.8224 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01393, allocations: 480 / 0.8224 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.01399, allocations: 51.64 kB / 0.8225 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.01436, allocations: 61.77 kB / 0.8225 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.01486, allocations: 358.7 kB / 0.8229 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.244e-05/0.01491, allocations: 92.31 kB / 0.823 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.264e-05/0.01498, allocations: 33.94 kB / 0.823 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01509, allocations: 114.2 kB / 0.8231 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.01509, allocations: 0 / 0.8231 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of Templates: time 0.005991/0.02108, allocations: 3.628 MB / 0.8266 GB, free: 3.16 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.531213711947203]