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.001039/0.001039, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.0009857/0.0009857, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 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 0.9579/0.9579, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.879/1.879, allocations: 377.9 MB / 0.6239 GB, free: 8.441 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 1.734e-06/1.734e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.418e-05, allocations: 2.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002194/0.002209, allocations: 1.943 MB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.00363, allocations: 1.248 MB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.003722, allocations: 4.781 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.004019, allocations: 97.2 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.004279, allocations: 143.2 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.00448, allocations: 131.5 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.004674, allocations: 228.9 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004785, allocations: 33.78 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.005192, allocations: 174 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005298, allocations: 88.95 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.005321, allocations: 12 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.005411, allocations: 55.91 kB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.005467, allocations: 65.34 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.005514, allocations: 51.84 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.005731, allocations: 195.2 kB / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.005733, allocations: 0 / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.41e-07/0.005733, allocations: 0.7188 kB / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.766e-06/0.005736, allocations: 0 / 0.8164 GB, free: 13.04 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.0004957/0.006232, allocations: 0.5777 MB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.006265, allocations: 9.688 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.006311, allocations: 28.8 kB / 0.817 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.006495, allocations: 223.6 kB / 0.8172 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.006513, allocations: 16.12 kB / 0.8172 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.006526, allocations: 8.562 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.006666, allocations: 109 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.006674, allocations: 0.875 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.006683, allocations: 3.984 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.00669, allocations: 4 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.006737, allocations: 37 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.007097, allocations: 373.5 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.007214, allocations: 83.14 kB / 0.8178 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.007244, allocations: 29.42 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.007261, allocations: 4 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.007363, allocations: 96.89 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.007365, allocations: 2.156 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002085/0.007573, allocations: 167.1 kB / 0.8181 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.0076, allocations: 51.41 kB / 0.8181 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.007772, allocations: 320.1 kB / 0.8184 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.007789, allocations: 29.7 kB / 0.8184 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.00787, allocations: 191.2 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.007901, allocations: 50.28 kB / 0.8187 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.00796, allocations: 71.25 kB / 0.8187 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.008086, allocations: 0.5117 MB / 0.8192 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.008123, allocations: 27.97 kB / 0.8193 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.008189, allocations: 90.08 kB / 0.8194 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.652e-05/0.008285, allocations: 117 kB / 0.8195 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008287, allocations: 4.5 kB / 0.8195 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001711/0.008458, allocations: 184.6 kB / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.008469, allocations: 4 kB / 0.8197 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008474, allocations: 7.938 kB / 0.8197 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008485, allocations: 10.58 kB / 0.8197 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.008589, allocations: 43.91 kB / 0.8197 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.008594, allocations: 3.938 kB / 0.8197 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.008649, allocations: 19.95 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.008667, allocations: 15.98 kB / 0.8198 GB, free: 9.34 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 8.101e-05/0.008748, allocations: 180.7 kB / 0.8199 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.008771, allocations: 23.86 kB / 0.8199 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.008926, allocations: 154.2 kB / 0.8201 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008928, allocations: 0 / 0.8201 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.00893, allocations: 4.844 kB / 0.8201 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008933, allocations: 4 kB / 0.8201 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.009242, allocations: 446.8 kB / 0.8205 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009243, allocations: 0 / 0.8205 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.009277, allocations: 11.69 kB / 0.8205 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.00928, allocations: 4 kB / 0.8205 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009289, allocations: 11.92 kB / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00929, allocations: 0 / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009291, allocations: 0 / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.009455, allocations: 301.9 kB / 0.8208 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.009478, allocations: 35.73 kB / 0.8209 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.009499, allocations: 11.94 kB / 0.8209 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.009553, allocations: 7.984 kB / 0.8209 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.00959, allocations: 21.75 kB / 0.8209 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.009598, allocations: 4 kB / 0.8209 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.829e-05/0.009686, allocations: 201.1 kB / 0.8211 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009686, allocations: 0 / 0.8211 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001881/0.009874, allocations: 51.92 kB / 0.8212 GB, free: 7.84 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.0007786/0.01065, allocations: 396.5 kB / 0.8215 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.0108, allocations: 113.2 kB / 0.8216 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.0108, allocations: 0 / 0.8216 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.01085, allocations: 47.59 kB / 0.8217 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.0002406/0.01109, allocations: 59.23 kB / 0.8218 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.0115, allocations: 370.5 kB / 0.8221 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.01155, allocations: 84.78 kB / 0.8222 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.679e-05/0.0116, allocations: 33.94 kB / 0.8222 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.0117, allocations: 114.2 kB / 0.8223 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.0117, allocations: 4 kB / 0.8223 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.005407/0.01711, allocations: 3.573 MB / 0.8258 GB, free: 3.242 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.153129308018833]