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.001489/0.001489, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00181/0.00181, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.63/1.63, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 61.25 kB / 0.9116 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4644, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004084/0.4686, allocations: 1.988 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4705, allocations: 1.103 MB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4706, allocations: 3.938 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.471, allocations: 91.73 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.4713, allocations: 79.73 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.4717, allocations: 142.8 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.472, allocations: 211.5 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.4722, allocations: 49.66 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4723, allocations: 99.55 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.4725, allocations: 107.5 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.4725, allocations: 12 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.4726, allocations: 59.95 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.4727, allocations: 59.83 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.4728, allocations: 91.41 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.4732, allocations: 263.3 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4732, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4732, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.4732, allocations: 4 kB / 1.072 GB, free: 6.477 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.0009046/0.4741, allocations: 0.5452 MB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4741, allocations: 8.031 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.4742, allocations: 24.66 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.4746, allocations: 287.4 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4746, allocations: 11.94 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.4747, allocations: 8 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.475, allocations: 117.6 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.475, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.475, allocations: 11.94 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.475, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.4753, allocations: 83.92 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.4761, allocations: 460.3 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.4764, allocations: 134.6 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4766, allocations: 60.77 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4766, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.4769, allocations: 121.2 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.4769, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006323/0.4775, allocations: 249.3 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4776, allocations: 63.34 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.4779, allocations: 326.5 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.478, allocations: 33.7 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.4781, allocations: 136.4 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.4781, allocations: 39.45 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.4782, allocations: 61.69 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4784, allocations: 334.8 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4786, allocations: 83.95 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.4788, allocations: 134.3 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.4792, allocations: 185 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4792, allocations: 3.938 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005354/0.4797, allocations: 282.4 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4798, allocations: 5.562 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4798, allocations: 4 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4798, allocations: 4 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.48, allocations: 43.91 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.48, allocations: 0 / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4802, allocations: 23.89 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.4802, allocations: 12.16 kB / 1.076 GB, free: 2.387 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.0001517/0.4804, allocations: 161.8 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4804, allocations: 27.66 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.4805, allocations: 22.19 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4805, allocations: 3.984 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4805, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4805, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.4813, allocations: 0.555 MB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4813, allocations: 0 / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.4814, allocations: 19.92 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4814, allocations: 0 / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4814, allocations: 8 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4814, allocations: 0 / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4815, allocations: 3.984 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.4819, allocations: 299.1 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.482, allocations: 92.92 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.482, allocations: 4 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4822, allocations: 19.91 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.4823, allocations: 15.98 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4823, allocations: 4 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000215/0.4825, allocations: 217.9 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.91e-07/0.4825, allocations: 3.938 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003193/0.4828, allocations: 51.84 kB / 1.077 GB, free: 0.7969 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.001116/0.484, allocations: 426.3 kB / 1.078 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.4845, allocations: 195.4 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4845, allocations: 3.938 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.4847, allocations: 75.89 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.4851, allocations: 49.12 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.486, allocations: 458.7 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4864, allocations: 0.748 MB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.4865, allocations: 37.92 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.4866, allocations: 23.44 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4866, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.007385/0.494, allocations: 2.957 MB / 1.082 GB, free: 11.99 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)