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.009195/0.009195, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001524/0.001524, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.68/1.68, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.668/1.668, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001489/0.001489, allocations: 67.91 kB / 0.7258 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7841, allocations: 104.7 MB / 0.828 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003756/0.7879, allocations: 1.939 MB / 0.8299 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.7895, allocations: 0.9246 MB / 0.8308 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.7896, allocations: 3.938 kB / 0.8308 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.7901, allocations: 91.62 kB / 0.8309 GB, free: 15.66 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000284/0.7904, allocations: 91.53 kB / 0.831 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.7908, allocations: 123.3 kB / 0.8311 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.7911, allocations: 215.4 kB / 0.8313 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.7913, allocations: 49.66 kB / 0.8314 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.7914, allocations: 91.61 kB / 0.8315 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.7916, allocations: 95.59 kB / 0.8316 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.7916, allocations: 16 kB / 0.8316 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.684e-05/0.7917, allocations: 39.98 kB / 0.8316 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.7918, allocations: 63.75 kB / 0.8317 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.7919, allocations: 87.42 kB / 0.8318 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.7923, allocations: 261 kB / 0.832 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7923, allocations: 3.938 kB / 0.832 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7923, allocations: 0 / 0.832 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7923, allocations: 0 / 0.832 GB, free: 14.55 MB / 0.6387 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.0009754/0.7933, allocations: 0.5219 MB / 0.8325 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7934, allocations: 16.03 kB / 0.8325 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.7934, allocations: 28.66 kB / 0.8326 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.7939, allocations: 286.8 kB / 0.8328 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7939, allocations: 12.12 kB / 0.8329 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.7939, allocations: 12 kB / 0.8329 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.7943, allocations: 138.5 kB / 0.833 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7943, allocations: 0 / 0.833 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.7943, allocations: 11.98 kB / 0.833 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7944, allocations: 4 kB / 0.833 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.7946, allocations: 87.86 kB / 0.8331 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.7954, allocations: 0.5125 MB / 0.8336 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.7957, allocations: 134.6 kB / 0.8337 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.7959, allocations: 56.81 kB / 0.8338 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.796, allocations: 4 kB / 0.8338 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.7962, allocations: 127.2 kB / 0.8339 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.7962, allocations: 0 / 0.8339 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0006462/0.7969, allocations: 247.5 kB / 0.8341 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.797, allocations: 59.34 kB / 0.8342 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.7973, allocations: 326.4 kB / 0.8345 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.7973, allocations: 37.7 kB / 0.8345 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.7974, allocations: 136.5 kB / 0.8347 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.7975, allocations: 39.55 kB / 0.8347 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.7975, allocations: 65.59 kB / 0.8348 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7977, allocations: 338.8 kB / 0.8351 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.7979, allocations: 79.95 kB / 0.8352 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7981, allocations: 143 kB / 0.8353 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.7985, allocations: 197.8 kB / 0.8355 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7985, allocations: 0 / 0.8355 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005368/0.7991, allocations: 284.1 kB / 0.8358 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7991, allocations: 15.97 kB / 0.8358 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7991, allocations: 0 / 0.8358 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7991, allocations: 4 kB / 0.8358 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7993, allocations: 47.91 kB / 0.8358 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.7994, allocations: 7.984 kB / 0.8358 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.7995, allocations: 23.83 kB / 0.8359 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.7996, allocations: 16 kB / 0.8359 GB, free: 10.32 MB / 0.6387 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.0001612/0.7997, allocations: 167.5 kB / 0.836 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.7998, allocations: 27.59 kB / 0.8361 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.7998, allocations: 22.19 kB / 0.8361 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7999, allocations: 7.984 kB / 0.8361 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7999, allocations: 0 / 0.8361 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7999, allocations: 0 / 0.8361 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.8007, allocations: 0.5489 MB / 0.8366 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8007, allocations: 4 kB / 0.8366 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.8008, allocations: 15.92 kB / 0.8367 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.8008, allocations: 8 kB / 0.8367 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8008, allocations: 4 kB / 0.8367 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8008, allocations: 0 / 0.8367 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8008, allocations: 3.938 kB / 0.8367 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.8013, allocations: 294.6 kB / 0.8369 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.8014, allocations: 104.8 kB / 0.837 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.8014, allocations: 4 kB / 0.8371 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.8015, allocations: 11.98 kB / 0.8371 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.8016, allocations: 19.97 kB / 0.8371 GB, free: 9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.8017, allocations: 4 kB / 0.8371 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001926/0.8019, allocations: 200.5 kB / 0.8373 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8019, allocations: 0 / 0.8373 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003129/0.8022, allocations: 51.89 kB / 0.8373 GB, free: 8.75 MB / 0.6387 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.00103/0.8032, allocations: 418.9 kB / 0.8377 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005364/0.8038, allocations: 195.6 kB / 0.8379 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8038, allocations: 0 / 0.8379 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.804, allocations: 72.34 kB / 0.838 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.8044, allocations: 54.25 kB / 0.838 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.8052, allocations: 391.6 kB / 0.8384 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.8055, allocations: 0.7519 MB / 0.8391 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.8056, allocations: 29.94 kB / 0.8392 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.8057, allocations: 27.38 kB / 0.8392 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.8057, allocations: 0 / 0.8392 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of Templates: time 0.006941/0.8127, allocations: 2.907 MB / 0.842 GB, free: 4.059 MB / 0.6387 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)