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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001088, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00539/0.00539, allocations: 170.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005805, allocations: 16 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6489, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002432/0.6514, allocations: 1.656 MB / 0.7304 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.6529, allocations: 0.8973 MB / 0.7312 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.653, allocations: 0 / 0.7312 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.6533, allocations: 87.7 kB / 0.7313 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.6535, allocations: 87.7 kB / 0.7314 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.6538, allocations: 100.7 kB / 0.7315 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.6541, allocations: 195.4 kB / 0.7317 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.6542, allocations: 45.66 kB / 0.7317 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.6544, allocations: 83.61 kB / 0.7318 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.6545, allocations: 83.61 kB / 0.7319 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.6545, allocations: 4 kB / 0.7319 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.6546, allocations: 43.98 kB / 0.7319 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.6547, allocations: 47.81 kB / 0.732 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.6549, allocations: 105.1 kB / 0.7321 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.6552, allocations: 237.1 kB / 0.7323 GB, free: 7.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6552, allocations: 4 kB / 0.7323 GB, free: 7.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.908e-06/0.6552, allocations: 0 / 0.7323 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6552, allocations: 3.938 kB / 0.7323 GB, free: 7.574 MB / 0.545 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.0007683/0.656, allocations: 0.4909 MB / 0.7328 GB, free: 7.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.656, allocations: 12.03 kB / 0.7328 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.6561, allocations: 28.64 kB / 0.7328 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.6564, allocations: 278.9 kB / 0.7331 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.6564, allocations: 8.125 kB / 0.7331 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.6564, allocations: 12 kB / 0.7331 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.6568, allocations: 154.6 kB / 0.7333 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.6568, allocations: 0 / 0.7333 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.6568, allocations: 4 kB / 0.7333 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6568, allocations: 4 kB / 0.7333 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.6571, allocations: 103.8 kB / 0.7334 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.6578, allocations: 0.5202 MB / 0.7339 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.6582, allocations: 142.6 kB / 0.734 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.6584, allocations: 60.83 kB / 0.7341 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.6584, allocations: 4 kB / 0.7341 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.6587, allocations: 131.2 kB / 0.7342 GB, free: 5.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.6587, allocations: 0 / 0.7342 GB, free: 5.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006508/0.6594, allocations: 265.2 kB / 0.7344 GB, free: 5.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.6594, allocations: 59.34 kB / 0.7345 GB, free: 5.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6598, allocations: 322.5 kB / 0.7348 GB, free: 4.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.6598, allocations: 33.7 kB / 0.7348 GB, free: 4.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.6599, allocations: 136.5 kB / 0.735 GB, free: 4.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.66, allocations: 43.53 kB / 0.735 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.66, allocations: 33.69 kB / 0.735 GB, free: 4.555 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6602, allocations: 338.8 kB / 0.7354 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6604, allocations: 87.95 kB / 0.7355 GB, free: 4.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.6606, allocations: 145.9 kB / 0.7356 GB, free: 3.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.661, allocations: 201.9 kB / 0.7358 GB, free: 3.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6611, allocations: 0 / 0.7358 GB, free: 3.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005629/0.6616, allocations: 311.3 kB / 0.7361 GB, free: 3.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.6617, allocations: 9.656 kB / 0.7361 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6617, allocations: 4.188 kB / 0.7361 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6617, allocations: 8 kB / 0.7361 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.6619, allocations: 43.91 kB / 0.7361 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6619, allocations: 4 kB / 0.7361 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.6621, allocations: 27.83 kB / 0.7362 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.6621, allocations: 16 kB / 0.7362 GB, free: 3.328 MB / 0.545 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,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,cha.u_start,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 (32): * Single equations (assignments): 32 * 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.0001676/0.6623, allocations: 171.4 kB / 0.7364 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.6623, allocations: 23.66 kB / 0.7364 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.6624, allocations: 26.19 kB / 0.7364 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6624, allocations: 4 kB / 0.7364 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6624, allocations: 0 / 0.7364 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6624, allocations: 3.984 kB / 0.7364 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.6632, allocations: 0.5597 MB / 0.737 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6632, allocations: 4 kB / 0.737 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.6633, allocations: 19.98 kB / 0.737 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6633, allocations: 0 / 0.737 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.6634, allocations: 3.938 kB / 0.737 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.6634, allocations: 4 kB / 0.737 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6634, allocations: 4 kB / 0.737 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.6638, allocations: 307.1 kB / 0.7373 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.6639, allocations: 104.8 kB / 0.7374 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.664, allocations: 8 kB / 0.7374 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.6641, allocations: 15.98 kB / 0.7374 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.6642, allocations: 19.97 kB / 0.7374 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6642, allocations: 4 kB / 0.7374 GB, free: 1.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001949/0.6644, allocations: 204.4 kB / 0.7376 GB, free: 1.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6644, allocations: 0 / 0.7376 GB, free: 1.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002966/0.6647, allocations: 48 kB / 0.7377 GB, free: 1.715 MB / 0.545 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 (16): * Single equations (assignments): 11 * 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.0009406/0.6657, allocations: 425.8 kB / 0.7381 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.6661, allocations: 207.9 kB / 0.7383 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6662, allocations: 0 / 0.7383 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.6664, allocations: 79.89 kB / 0.7384 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.6668, allocations: 44.52 kB / 0.7384 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.6675, allocations: 447 kB / 0.7388 GB, free: 0.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.6679, allocations: 0.7482 MB / 0.7396 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.668, allocations: 41.91 kB / 0.7396 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.668, allocations: 19.44 kB / 0.7396 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.668, allocations: 4 kB / 0.7396 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.005936/0.674, allocations: 2.661 MB / 0.7422 GB, free: 13.2 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) Environment - environmentSimulation: