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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00173/0.001731, allocations: 191.7 kB / 16.14 MB, free: 6.703 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.724/1.724, allocations: 205.1 MB / 222 MB, free: 4.758 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.639/1.639, allocations: 251.6 MB / 0.5088 GB, free: 3.355 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.001617/0.001617, allocations: 71.91 kB / 0.6216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7959, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004367/0.8004, allocations: 2.006 MB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.8021, allocations: 0.9128 MB / 0.7267 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.8023, allocations: 7.938 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.8028, allocations: 83.75 kB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.803, allocations: 79.73 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.8033, allocations: 103.8 kB / 0.7269 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.8036, allocations: 195.5 kB / 0.7271 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.8038, allocations: 45.66 kB / 0.7272 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.804, allocations: 79.62 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.8042, allocations: 99.53 kB / 0.7273 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.8042, allocations: 4 kB / 0.7273 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.8043, allocations: 43.97 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.8044, allocations: 59.77 kB / 0.7274 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.8045, allocations: 83.47 kB / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.8049, allocations: 241.1 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.8049, allocations: 3.938 kB / 0.7278 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8049, allocations: 0 / 0.7278 GB, free: 9.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.8049, allocations: 0 / 0.7278 GB, free: 9.082 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.0009881/0.8059, allocations: 0.5297 MB / 0.7283 GB, free: 8.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.806, allocations: 8.031 kB / 0.7283 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.806, allocations: 24.66 kB / 0.7283 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.8064, allocations: 290.9 kB / 0.7286 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.8065, allocations: 12.12 kB / 0.7286 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.8065, allocations: 8 kB / 0.7286 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.8069, allocations: 143.2 kB / 0.7287 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8069, allocations: 0 / 0.7287 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.8069, allocations: 4 kB / 0.7287 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.8069, allocations: 7.938 kB / 0.7287 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.8072, allocations: 96.42 kB / 0.7288 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.808, allocations: 0.5164 MB / 0.7293 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.8084, allocations: 130.5 kB / 0.7295 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.8085, allocations: 56.86 kB / 0.7295 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.8086, allocations: 0 / 0.7295 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.809, allocations: 134.2 kB / 0.7296 GB, free: 6.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.809, allocations: 0 / 0.7296 GB, free: 6.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006627/0.8097, allocations: 249.2 kB / 0.7299 GB, free: 6.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.8097, allocations: 55.34 kB / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.8101, allocations: 330.5 kB / 0.7303 GB, free: 6.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.8101, allocations: 29.7 kB / 0.7303 GB, free: 6.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.8102, allocations: 136.5 kB / 0.7304 GB, free: 6.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.8103, allocations: 39.55 kB / 0.7304 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.8104, allocations: 61.69 kB / 0.7305 GB, free: 6.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8106, allocations: 330.8 kB / 0.7308 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.8108, allocations: 83.95 kB / 0.7309 GB, free: 5.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.811, allocations: 145.9 kB / 0.731 GB, free: 5.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.8114, allocations: 203.3 kB / 0.7312 GB, free: 5.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8114, allocations: 0 / 0.7312 GB, free: 5.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005621/0.812, allocations: 292.6 kB / 0.7315 GB, free: 4.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.812, allocations: 11.88 kB / 0.7315 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8121, allocations: 4 kB / 0.7315 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.8121, allocations: 4 kB / 0.7315 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.8123, allocations: 47.91 kB / 0.7316 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8123, allocations: 0 / 0.7316 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.8125, allocations: 27.83 kB / 0.7316 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.8125, allocations: 11.98 kB / 0.7316 GB, free: 4.855 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.0001743/0.8127, allocations: 163.5 kB / 0.7318 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.8128, allocations: 27.69 kB / 0.7318 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.8128, allocations: 26.17 kB / 0.7318 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8129, allocations: 3.938 kB / 0.7318 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8129, allocations: 3.984 kB / 0.7318 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8129, allocations: 0 / 0.7318 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.8137, allocations: 0.5567 MB / 0.7324 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.8137, allocations: 0 / 0.7324 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.8138, allocations: 19.92 kB / 0.7324 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8138, allocations: 0 / 0.7324 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.8138, allocations: 8 kB / 0.7324 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8138, allocations: 0 / 0.7324 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8139, allocations: 3.984 kB / 0.7324 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.8143, allocations: 294.2 kB / 0.7327 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.8144, allocations: 100.8 kB / 0.7328 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.8145, allocations: 4 kB / 0.7328 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.8146, allocations: 19.97 kB / 0.7328 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.8147, allocations: 11.98 kB / 0.7328 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8147, allocations: 11.94 kB / 0.7328 GB, free: 3.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001976/0.8149, allocations: 204.4 kB / 0.733 GB, free: 3.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8149, allocations: 4 kB / 0.733 GB, free: 3.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003115/0.8153, allocations: 40 kB / 0.7331 GB, free: 3.273 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.001118/0.8164, allocations: 414.2 kB / 0.7335 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.8169, allocations: 207.6 kB / 0.7337 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8169, allocations: 0 / 0.7337 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.8171, allocations: 67.89 kB / 0.7337 GB, free: 2.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.8176, allocations: 44.53 kB / 0.7338 GB, free: 2.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.8185, allocations: 449.5 kB / 0.7342 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.8191, allocations: 0.7443 MB / 0.7349 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.8192, allocations: 33.92 kB / 0.735 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.8193, allocations: 27.42 kB / 0.735 GB, free: 1.414 MB / 0.545 GB Notification: Performance of SimCode: time 4.418e-06/0.8193, allocations: 0 / 0.735 GB, free: 1.414 MB / 0.545 GB Notification: Performance of Templates: time 0.00807/0.8274, allocations: 2.705 MB / 0.7376 GB, free: 14.74 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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)