Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001943/0.001943, 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.002264/0.002264, allocations: 189.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002117, allocations: 61.42 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4276, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003964/0.4317, allocations: 1.977 MB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.4336, allocations: 1.107 MB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.4338, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.4343, allocations: 99.67 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.4346, allocations: 79.73 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.4352, allocations: 143.1 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.4356, allocations: 199.4 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.4359, allocations: 41.66 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.4362, allocations: 91.61 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.4364, allocations: 99.59 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.4364, allocations: 11.94 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.4366, allocations: 51.95 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.4367, allocations: 59.7 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.4369, allocations: 83.47 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.4374, allocations: 251.4 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.4374, allocations: 8 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4375, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.4375, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 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.001293/0.4388, allocations: 0.5452 MB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4388, allocations: 8.031 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.4389, allocations: 24.66 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.4394, allocations: 283.4 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4394, allocations: 11.98 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4394, allocations: 12 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.4398, allocations: 112.4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4398, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.4398, allocations: 11.94 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4398, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.4401, allocations: 91.86 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.441, allocations: 452.4 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.4413, allocations: 130.6 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4415, allocations: 56.83 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.4416, allocations: 4 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.4419, allocations: 122.1 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.4419, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007174/0.4426, allocations: 253.3 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.4427, allocations: 59.41 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.4431, allocations: 326.5 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.4431, allocations: 33.7 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4433, allocations: 136.3 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.4434, allocations: 43.44 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4435, allocations: 61.69 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4437, allocations: 334.8 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.4439, allocations: 83.95 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.4442, allocations: 130.3 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.4446, allocations: 193 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4446, allocations: 3.938 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006055/0.4453, allocations: 282.4 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4453, allocations: 4 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4453, allocations: 4 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4453, allocations: 3.984 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.4455, allocations: 47.84 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4456, allocations: 4 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.4457, allocations: 19.89 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.4458, allocations: 12 kB / 1.075 GB, free: 2.547 MB / 0.8262 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.0001846/0.446, allocations: 157.8 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.446, allocations: 31.64 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.4461, allocations: 22.19 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4461, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4461, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4461, allocations: 3.984 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.447, allocations: 0.5528 MB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.447, allocations: 4 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-05/0.4471, allocations: 15.98 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4472, allocations: 0 / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4472, allocations: 4 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4472, allocations: 0 / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4472, allocations: 0 / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.4477, allocations: 309.5 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4478, allocations: 92.92 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.4479, allocations: 11.94 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.448, allocations: 7.984 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/0.4481, allocations: 19.97 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4482, allocations: 4 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002674/0.4484, allocations: 217.9 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4485, allocations: 0 / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003691/0.4488, allocations: 51.84 kB / 1.077 GB, free: 0.9609 MB / 0.8262 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.001224/0.4501, allocations: 423.7 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.4506, allocations: 183 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4506, allocations: 4.062 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.4508, allocations: 71.89 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.4513, allocations: 47.16 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.4522, allocations: 461.3 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4526, allocations: 0.7482 MB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.4527, allocations: 41.91 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.4528, allocations: 19.44 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4528, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.007465/0.4603, allocations: 2.852 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)