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.001378/0.001378, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00155/0.00155, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.643/1.643, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005797/0.0005798, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6807, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003067/0.6839, allocations: 1.601 MB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.6856, allocations: 0.8548 MB / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.6857, allocations: 0 / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.6861, allocations: 83.69 kB / 0.7305 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.6863, allocations: 75.77 kB / 0.7305 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.6866, allocations: 103 kB / 0.7306 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.6869, allocations: 127.7 kB / 0.7308 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.6871, allocations: 33.84 kB / 0.7308 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.6873, allocations: 87.67 kB / 0.7309 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.6875, allocations: 75.67 kB / 0.7309 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.6875, allocations: 4 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.6876, allocations: 27.92 kB / 0.731 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.6877, allocations: 47.83 kB / 0.731 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.6877, allocations: 53.58 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.688, allocations: 197.5 kB / 0.7313 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.688, allocations: 0 / 0.7313 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.176e-06/0.688, allocations: 0 / 0.7313 GB, free: 8.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.688, allocations: 0 / 0.7313 GB, free: 8.066 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.001037/0.6891, allocations: 0.5063 MB / 0.7318 GB, free: 7.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.6891, allocations: 12.03 kB / 0.7318 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.6892, allocations: 23.72 kB / 0.7318 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.6897, allocations: 265.9 kB / 0.732 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.6898, allocations: 4.188 kB / 0.732 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.6898, allocations: 19.98 kB / 0.7321 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.6902, allocations: 145 kB / 0.7322 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6902, allocations: 3.938 kB / 0.7322 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.6902, allocations: 4 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6903, allocations: 7.953 kB / 0.7322 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.6906, allocations: 96.48 kB / 0.7323 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.6914, allocations: 0.5356 MB / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.6917, allocations: 126.7 kB / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.6918, allocations: 11.94 kB / 0.733 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.6921, allocations: 127.3 kB / 0.7331 GB, free: 6.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.6921, allocations: 0 / 0.7331 GB, free: 6.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006751/0.6928, allocations: 261.3 kB / 0.7333 GB, free: 5.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.6929, allocations: 59.41 kB / 0.7334 GB, free: 5.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.6933, allocations: 326.4 kB / 0.7337 GB, free: 5.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.6933, allocations: 33.64 kB / 0.7337 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.6934, allocations: 136.7 kB / 0.7339 GB, free: 5.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.6935, allocations: 43.55 kB / 0.7339 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.6935, allocations: 7.938 kB / 0.7339 GB, free: 5.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6937, allocations: 342.8 kB / 0.7342 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.6939, allocations: 91.94 kB / 0.7343 GB, free: 4.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.6941, allocations: 142 kB / 0.7345 GB, free: 4.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.6944, allocations: 91.97 kB / 0.7346 GB, free: 4.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6944, allocations: 0 / 0.7346 GB, free: 4.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005812/0.695, allocations: 303.5 kB / 0.7348 GB, free: 4.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.695, allocations: 5.875 kB / 0.7348 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.695, allocations: 0 / 0.7348 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.6951, allocations: 4 kB / 0.7349 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.6953, allocations: 51.91 kB / 0.7349 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.6953, allocations: 7.984 kB / 0.7349 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.6955, allocations: 27.83 kB / 0.7349 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.6955, allocations: 12.03 kB / 0.7349 GB, free: 4.051 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,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.6957, allocations: 159.5 kB / 0.7351 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.6958, allocations: 27.72 kB / 0.7351 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.6958, allocations: 26.17 kB / 0.7351 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6958, allocations: 0 / 0.7351 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6959, allocations: 0 / 0.7351 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6959, allocations: 4 kB / 0.7352 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/0.6967, allocations: 0.5639 MB / 0.7357 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6967, allocations: 0 / 0.7357 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.6968, allocations: 15.98 kB / 0.7357 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.6968, allocations: 4 kB / 0.7357 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.6969, allocations: 7.984 kB / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6969, allocations: 0 / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6969, allocations: 0 / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.6974, allocations: 307.1 kB / 0.736 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.6975, allocations: 104.8 kB / 0.7361 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.6975, allocations: 8 kB / 0.7361 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.6977, allocations: 15.98 kB / 0.7361 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.6978, allocations: 19.97 kB / 0.7362 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.6978, allocations: 8 kB / 0.7362 GB, free: 2.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002108/0.698, allocations: 204.4 kB / 0.7364 GB, free: 2.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.698, allocations: 4 kB / 0.7364 GB, free: 2.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003131/0.6983, allocations: 36 kB / 0.7364 GB, free: 2.457 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.6995, allocations: 421.6 kB / 0.7368 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.7, allocations: 203.7 kB / 0.737 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7, allocations: 0 / 0.737 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.7002, allocations: 75.91 kB / 0.7371 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.7006, allocations: 47.59 kB / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.7015, allocations: 429.5 kB / 0.7375 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.7019, allocations: 0.7638 MB / 0.7383 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.702, allocations: 33.94 kB / 0.7383 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.7021, allocations: 31.36 kB / 0.7383 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7021, allocations: 0 / 0.7383 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of Templates: time 0.006948/0.7091, allocations: 2.586 MB / 0.7409 GB, free: 14.02 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: