Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001013/0.001013, allocations: 98.03 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.01051/0.01051, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.581/1.581, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.071/3.071, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003939, allocations: 8.125 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4182, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003004/0.4213, allocations: 1.7 MB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.4228, allocations: 0.6468 MB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.4231, allocations: 0 / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.392e-05/0.4232, allocations: 11.86 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.4235, allocations: 43.7 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.4242, allocations: 135.8 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.4247, allocations: 271.2 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.4249, allocations: 56.28 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.4252, allocations: 87.67 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.4254, allocations: 107.5 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.4255, allocations: 8 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.4255, allocations: 12 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.4256, allocations: 39.81 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.4258, allocations: 117.2 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.4261, allocations: 239.4 kB / 1.078 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4261, allocations: 0 / 1.078 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4261, allocations: 4 kB / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.4262, allocations: 0 / 1.078 GB, free: 4.07 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.001666/0.4278, allocations: 0.6191 MB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4279, allocations: 12.03 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.428, allocations: 28.59 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.4286, allocations: 265.7 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.4286, allocations: 12.38 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.4287, allocations: 16.38 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.4295, allocations: 268.8 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4296, allocations: 4 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.4296, allocations: 8 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4296, allocations: 4 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/0.4306, allocations: 272.5 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.4316, allocations: 0.5196 MB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.4328, allocations: 314.4 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.4333, allocations: 144.8 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.4334, allocations: 11.92 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.4341, allocations: 213.4 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/0.4341, allocations: 0 / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001676/0.4358, allocations: 457 kB / 1.081 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.4359, allocations: 63.39 kB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.4361, allocations: 210.8 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.4362, allocations: 33.69 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4363, allocations: 128.2 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.4364, allocations: 43.44 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.4364, allocations: 25.7 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4366, allocations: 326.8 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.4372, allocations: 139.9 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.4377, allocations: 145.3 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/0.4387, allocations: 319.5 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.4387, allocations: 0 / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001181/0.4399, allocations: 424.4 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.44, allocations: 145.2 kB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4401, allocations: 3.984 kB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4401, allocations: 4 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.4404, allocations: 55.95 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4404, allocations: 7.984 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.4408, allocations: 55.8 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.4408, allocations: 4 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4409, allocations: 4 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/0.4419, allocations: 376.5 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.4419, allocations: 0 / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.4419, allocations: 3.938 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4422, allocations: 55.89 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.4422, allocations: 0 / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.4425, allocations: 59.8 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4425, allocations: 4 kB / 1.083 GB, free: 14.06 MB / 0.8419 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.0001978/0.4427, allocations: 213 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.4428, allocations: 23.75 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.4429, allocations: 21.53 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4429, allocations: 0 / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4429, allocations: 7.922 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4429, allocations: 0 / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.4432, allocations: 269.4 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4432, allocations: 4 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.4435, allocations: 55.94 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4436, allocations: 7.938 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4436, allocations: 4 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4436, allocations: 0 / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4436, allocations: 4 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4447, allocations: 363.1 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.4448, allocations: 92.92 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.4448, allocations: 7.938 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.4452, allocations: 51.94 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4453, allocations: 27.95 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.4453, allocations: 8 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001594/0.4455, allocations: 147.2 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4455, allocations: 0 / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003828/0.4459, allocations: 75.84 kB / 1.084 GB, free: 12.61 MB / 0.8419 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.0001641/0.4461, allocations: 107.2 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.4479, allocations: 0.6745 MB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.448, allocations: 0 / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.4486, allocations: 151.8 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.449, allocations: 43.91 kB / 1.085 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4501, allocations: 403 kB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.4506, allocations: 0.7326 MB / 1.086 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.4507, allocations: 25.53 kB / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.4508, allocations: 27.36 kB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4508, allocations: 0 / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.008034/0.4589, allocations: 2.861 MB / 1.089 GB, free: 7.547 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)