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.001456/0.001456, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001686/0.001686, allocations: 169 kB / 24.28 MB, free: 276 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 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.941/1.941, allocations: 377.8 MB / 0.6239 GB, free: 8.59 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 1.794e-06/1.794e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.752e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002661/0.002689, allocations: 1.952 MB / 0.8135 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004226, allocations: 1.25 MB / 0.8147 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.004333, allocations: 7.938 kB / 0.8147 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.004674, allocations: 91.52 kB / 0.8148 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.004977, allocations: 145.1 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.005194, allocations: 127.5 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.005419, allocations: 228 kB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.005563, allocations: 37.77 kB / 0.8153 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.005709, allocations: 132.1 kB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005827, allocations: 97 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.005852, allocations: 12 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.005952, allocations: 51.92 kB / 0.8156 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.006024, allocations: 70.12 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.006083, allocations: 55.83 kB / 0.8157 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.006332, allocations: 195.2 kB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006335, allocations: 0 / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006336, allocations: 0 / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006341, allocations: 0 / 0.8159 GB, free: 13.64 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.0006296/0.006971, allocations: 0.5779 MB / 0.8164 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.007008, allocations: 8.031 kB / 0.8164 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.007076, allocations: 34.33 kB / 0.8165 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.007344, allocations: 215.8 kB / 0.8167 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.007364, allocations: 11.94 kB / 0.8167 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.007384, allocations: 19.92 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.007721, allocations: 99.61 kB / 0.8168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.00773, allocations: 3.984 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.007743, allocations: 5.344 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.007752, allocations: 4 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.007831, allocations: 39.91 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.008347, allocations: 420.8 kB / 0.8173 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.008518, allocations: 95.62 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.008572, allocations: 32.2 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.008588, allocations: 8.75 kB / 0.8174 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.008734, allocations: 107.1 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.008735, allocations: 0.8125 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003006/0.009036, allocations: 174 kB / 0.8177 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.009077, allocations: 59.34 kB / 0.8177 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.009298, allocations: 329.6 kB / 0.818 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.009316, allocations: 33.7 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.009401, allocations: 183.3 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.009434, allocations: 44.83 kB / 0.8183 GB, free: 11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.009499, allocations: 63.36 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.009626, allocations: 0.5079 MB / 0.8188 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.009697, allocations: 36.72 kB / 0.8189 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.009788, allocations: 94.09 kB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.009936, allocations: 134.7 kB / 0.8191 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009939, allocations: 0 / 0.8191 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002339/0.01017, allocations: 197 kB / 0.8193 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01019, allocations: 11.94 kB / 0.8193 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01019, allocations: 5.578 kB / 0.8193 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01021, allocations: 7.938 kB / 0.8193 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01035, allocations: 35.98 kB / 0.8193 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01036, allocations: 7.938 kB / 0.8193 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.01042, allocations: 24.84 kB / 0.8194 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.01044, allocations: 12 kB / 0.8194 GB, free: 9.812 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.0001011/0.01055, allocations: 179.6 kB / 0.8195 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.01057, allocations: 27.86 kB / 0.8196 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.0108, allocations: 155.7 kB / 0.8197 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.0108, allocations: 3.938 kB / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01081, allocations: 0 / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01081, allocations: 3.938 kB / 0.8197 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.01124, allocations: 0.5005 MB / 0.8202 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01124, allocations: 3.938 kB / 0.8202 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.01129, allocations: 13.92 kB / 0.8202 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01129, allocations: 0 / 0.8202 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.0113, allocations: 8 kB / 0.8202 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.0113, allocations: 0 / 0.8202 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01131, allocations: 0 / 0.8202 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.01152, allocations: 317 kB / 0.8205 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.01154, allocations: 27.75 kB / 0.8206 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01157, allocations: 8.844 kB / 0.8206 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.01164, allocations: 11.98 kB / 0.8206 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.01169, allocations: 21.25 kB / 0.8206 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01171, allocations: 4 kB / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001257/0.01183, allocations: 213.1 kB / 0.8208 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01183, allocations: 2.25 kB / 0.8208 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002172/0.01205, allocations: 43.94 kB / 0.8209 GB, free: 8.23 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.0009189/0.01297, allocations: 409.9 kB / 0.8212 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.01317, allocations: 109 kB / 0.8214 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01317, allocations: 0 / 0.8214 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.01324, allocations: 59.17 kB / 0.8214 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.01352, allocations: 62.3 kB / 0.8215 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.01404, allocations: 371.9 kB / 0.8218 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.615e-05/0.0141, allocations: 88.31 kB / 0.8219 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.01417, allocations: 27.56 kB / 0.8219 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.01422, allocations: 24.5 kB / 0.822 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.01422, allocations: 3.281 kB / 0.822 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of Templates: time 0.005622/0.01984, allocations: 3.321 MB / 0.8252 GB, free: 3.945 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.486816808115691]