Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, 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.002501/0.002501, allocations: 193.2 kB / 16.14 MB, free: 6.703 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.681/1.681, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 69.97 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4406, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.003259/0.4439, allocations: 0.9841 MB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.4457, allocations: 1.046 MB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.4459, allocations: 0 / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.446, allocations: 7.875 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.4463, allocations: 43.7 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.4468, allocations: 111.8 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.4472, allocations: 327.3 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.4474, allocations: 21.69 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.4476, allocations: 155.5 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.4479, allocations: 199.4 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.448, allocations: 16 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.696e-05/0.4481, allocations: 20 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4482, allocations: 95.72 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.4484, allocations: 127.4 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.4488, allocations: 311.3 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4488, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4488, allocations: 3.938 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.4488, allocations: 0 / 1.071 GB, free: 7.422 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002247/0.4511, allocations: 0.7718 MB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4511, allocations: 8.031 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.692e-05/0.4512, allocations: 32.59 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007938/0.452, allocations: 335.9 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.4521, allocations: 24.3 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.4522, allocations: 20.38 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008578/0.453, allocations: 340.2 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.453, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.4531, allocations: 8 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4531, allocations: 4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.4538, allocations: 211.8 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.4555, allocations: 0.7111 MB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.4562, allocations: 281 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.4568, allocations: 193.5 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.4568, allocations: 4 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.4576, allocations: 353.4 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.4576, allocations: 7.938 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001759/0.4594, allocations: 0.6299 MB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.4595, allocations: 97.03 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4597, allocations: 210.9 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.4598, allocations: 53.69 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.4599, allocations: 129 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.46, allocations: 79.12 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4601, allocations: 74.12 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4603, allocations: 346.7 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.4605, allocations: 112.8 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.4608, allocations: 177.5 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.4612, allocations: 197 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4612, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005944/0.4618, allocations: 341.8 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4618, allocations: 4 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4618, allocations: 0 / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.4619, allocations: 4 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4621, allocations: 51.84 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.4621, allocations: 7.984 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.4625, allocations: 79.67 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.4625, allocations: 16 kB / 1.077 GB, free: 1.297 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: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001853/0.4627, allocations: 170.9 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.4628, allocations: 23.7 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.4628, allocations: 37.53 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4628, allocations: 4 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4629, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4629, allocations: 7.922 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.4632, allocations: 309.2 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4632, allocations: 4 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.4633, allocations: 11.98 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4633, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.4633, allocations: 15.97 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4633, allocations: 0 / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4633, allocations: 0 / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4646, allocations: 0.5247 MB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4646, allocations: 96.77 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.4647, allocations: 16.05 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.4652, allocations: 79.78 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.4654, allocations: 71.81 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.4654, allocations: 19.97 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001292/0.4655, allocations: 144.6 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4655, allocations: 0 / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00031/0.4659, allocations: 63.98 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.000222/0.4661, allocations: 131.2 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009027/0.467, allocations: 359.5 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.467, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.4676, allocations: 210 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.4681, allocations: 71.86 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4695, allocations: 0.5898 MB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4699, allocations: 0.7407 MB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.4701, allocations: 42.95 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4702, allocations: 39.41 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4702, allocations: 4 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.01116/0.4814, allocations: 4.98 MB / 1.085 GB, free: 8.457 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1)