Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00685/0.00685, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.505/1.505, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.54/1.54, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.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.0005619/0.0005621, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5539, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002241/0.5562, allocations: 1.711 MB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.5573, allocations: 0.6942 MB / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.5575, allocations: 7.938 kB / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.5575, allocations: 7.922 kB / 0.7311 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.5577, allocations: 47.58 kB / 0.7311 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.5581, allocations: 142.7 kB / 0.7313 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.5584, allocations: 263.2 kB / 0.7315 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.5586, allocations: 68.25 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.5587, allocations: 87.69 kB / 0.7317 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.5589, allocations: 107.4 kB / 0.7318 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.5589, allocations: 12 kB / 0.7318 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.5589, allocations: 8 kB / 0.7318 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.559, allocations: 31.84 kB / 0.7318 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.5591, allocations: 121.1 kB / 0.7319 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.5594, allocations: 245.1 kB / 0.7322 GB, free: 7.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5594, allocations: 0 / 0.7322 GB, free: 7.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5594, allocations: 0 / 0.7322 GB, free: 7.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5594, allocations: 0 / 0.7322 GB, free: 7.699 MB / 0.545 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.001292/0.5607, allocations: 0.6268 MB / 0.7328 GB, free: 7.012 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5607, allocations: 8.031 kB / 0.7328 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.5608, allocations: 24.69 kB / 0.7328 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.5612, allocations: 276.7 kB / 0.7331 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.5613, allocations: 12.38 kB / 0.7331 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.5613, allocations: 16.38 kB / 0.7331 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.562, allocations: 269.8 kB / 0.7334 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.562, allocations: 4 kB / 0.7334 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.5621, allocations: 4 kB / 0.7334 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5621, allocations: 4 kB / 0.7334 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.563, allocations: 271.8 kB / 0.7336 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.5638, allocations: 0.5157 MB / 0.7341 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5649, allocations: 314.5 kB / 0.7344 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.5654, allocations: 144.8 kB / 0.7346 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.5655, allocations: 0 / 0.7346 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/0.5661, allocations: 227.1 kB / 0.7348 GB, free: 4.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.5661, allocations: 3.938 kB / 0.7348 GB, free: 4.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.00151/0.5677, allocations: 452.6 kB / 0.7352 GB, free: 4.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5677, allocations: 59.41 kB / 0.7353 GB, free: 4.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.5679, allocations: 215.2 kB / 0.7355 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.568, allocations: 33.7 kB / 0.7355 GB, free: 4.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.5681, allocations: 132.2 kB / 0.7357 GB, free: 3.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.5681, allocations: 47.38 kB / 0.7357 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.5682, allocations: 25.7 kB / 0.7357 GB, free: 3.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5683, allocations: 330.8 kB / 0.736 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.5688, allocations: 135.9 kB / 0.7362 GB, free: 3.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.5692, allocations: 143.8 kB / 0.7363 GB, free: 3.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/0.5702, allocations: 327.6 kB / 0.7366 GB, free: 2.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5702, allocations: 0 / 0.7366 GB, free: 2.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001049/0.5712, allocations: 416.5 kB / 0.737 GB, free: 2.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/0.5713, allocations: 153.2 kB / 0.7372 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5713, allocations: 0 / 0.7372 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5714, allocations: 0 / 0.7372 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5716, allocations: 59.88 kB / 0.7372 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.5717, allocations: 0 / 0.7372 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.572, allocations: 59.84 kB / 0.7373 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.572, allocations: 4 kB / 0.7373 GB, free: 2.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.572, allocations: 6.031 kB / 0.7373 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009305/0.5729, allocations: 371.1 kB / 0.7376 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.573, allocations: 4 kB / 0.7376 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.573, allocations: 11.92 kB / 0.7377 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.5732, allocations: 51.95 kB / 0.7377 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-06/0.5732, allocations: 0 / 0.7377 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.5735, allocations: 59.8 kB / 0.7378 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.5735, allocations: 7.984 kB / 0.7378 GB, free: 1.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.00016/0.5737, allocations: 215.5 kB / 0.738 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.5737, allocations: 27.66 kB / 0.738 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.5738, allocations: 21.53 kB / 0.738 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5738, allocations: 4 kB / 0.738 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5738, allocations: 0 / 0.738 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5738, allocations: 3.984 kB / 0.738 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.5741, allocations: 269.4 kB / 0.7383 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5741, allocations: 0 / 0.7383 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.5744, allocations: 63.94 kB / 0.7383 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5744, allocations: 3.938 kB / 0.7383 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5744, allocations: 0 / 0.7383 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5744, allocations: 4 kB / 0.7384 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5744, allocations: 0 / 0.7384 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.5754, allocations: 360.6 kB / 0.7387 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.5755, allocations: 100.8 kB / 0.7388 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.5755, allocations: 7.938 kB / 0.7388 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.5758, allocations: 51.94 kB / 0.7388 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.5759, allocations: 27.95 kB / 0.7389 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.576, allocations: 4 kB / 0.7389 GB, free: 448 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001349/0.5761, allocations: 156.7 kB / 0.739 GB, free: 292 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5761, allocations: 0 / 0.739 GB, free: 292 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003149/0.5764, allocations: 75.84 kB / 0.7391 GB, free: 216 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001674/0.5766, allocations: 103.2 kB / 0.7392 GB, free: 100 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.5783, allocations: 0.6613 MB / 0.7398 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5783, allocations: 3.938 kB / 0.7398 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.5788, allocations: 151.9 kB / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.5792, allocations: 50.58 kB / 0.74 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.5802, allocations: 421.2 kB / 0.7404 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.5806, allocations: 0.7326 MB / 0.7412 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.5807, allocations: 25.53 kB / 0.7412 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.5808, allocations: 15.44 kB / 0.7412 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.5808, allocations: 0 / 0.7412 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.006666/0.5875, allocations: 2.864 MB / 0.744 GB, free: 11.14 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) Environment - environmentSimulation: