Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001548/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002388/0.002388, allocations: 190.3 kB / 16.13 MB, free: 6.656 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.611/1.611, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.36 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4617, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004005/0.4657, allocations: 1.977 MB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.4678, allocations: 1.107 MB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.468, allocations: 11.88 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.4685, allocations: 83.77 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.4688, allocations: 83.66 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.4693, allocations: 151 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.4696, allocations: 195.5 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.4698, allocations: 41.66 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.4699, allocations: 91.55 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.4701, allocations: 103.5 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.4701, allocations: 4 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.4703, allocations: 55.97 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.4704, allocations: 55.81 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.4705, allocations: 87.34 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.4709, allocations: 251.4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.471, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.471, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.471, allocations: 0 / 1.072 GB, free: 6.613 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.001068/0.4721, allocations: 0.5453 MB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4721, allocations: 8.031 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.4722, allocations: 28.66 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.4726, allocations: 287.4 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4726, allocations: 4 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4726, allocations: 12 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.473, allocations: 119 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.473, allocations: 0 / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.473, allocations: 7.938 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.473, allocations: 4 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.4733, allocations: 83.92 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.4741, allocations: 460.3 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.4745, allocations: 134.5 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4746, allocations: 52.83 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.4747, allocations: 4 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.475, allocations: 123.3 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.475, allocations: 0 / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006971/0.4757, allocations: 255.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4757, allocations: 59.41 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.4761, allocations: 326.5 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.4761, allocations: 33.7 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4763, allocations: 140.4 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.4763, allocations: 43.45 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.4764, allocations: 53.7 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4766, allocations: 334.8 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.4768, allocations: 87.94 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.477, allocations: 130.3 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.4774, allocations: 186.7 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4774, allocations: 7.938 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000562/0.478, allocations: 288 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.478, allocations: 5.562 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4781, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4781, allocations: 8 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.4783, allocations: 39.97 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4783, allocations: 3.938 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.4785, allocations: 23.89 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4785, allocations: 8 kB / 1.075 GB, free: 2.523 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.0001644/0.4787, allocations: 165.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4787, allocations: 27.64 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.4788, allocations: 30.16 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4788, allocations: 4 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4788, allocations: 0 / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4788, allocations: 0 / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.4796, allocations: 0.5528 MB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4796, allocations: 0 / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.4797, allocations: 15.98 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4797, allocations: 0 / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.4798, allocations: 7.984 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4798, allocations: 4 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4798, allocations: 0 / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.4802, allocations: 296.5 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.4803, allocations: 96.92 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.4804, allocations: 0 / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.4805, allocations: 27.84 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.4806, allocations: 15.98 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4806, allocations: 7.984 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001907/0.4808, allocations: 206 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4808, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003156/0.4811, allocations: 59.84 kB / 1.077 GB, free: 0.9258 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.00113/0.4823, allocations: 416.8 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.4827, allocations: 179.8 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4828, allocations: 4.25 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.4829, allocations: 81.86 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.4834, allocations: 49.61 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.4842, allocations: 442 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.4845, allocations: 0.756 MB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000105/0.4847, allocations: 29.94 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.4847, allocations: 27.44 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4847, allocations: 0 / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.0068/0.4915, allocations: 2.843 MB / 1.082 GB, free: 12.25 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)