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.001139/0.001139, 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.001371/0.001371, allocations: 191.3 kB / 16.13 MB, free: 6.656 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.762 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.517/1.517, allocations: 251.7 MB / 0.5088 GB, free: 3.336 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.001324/0.001324, allocations: 63.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5534, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003217/0.5567, allocations: 2.054 MB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.5577, allocations: 0.698 MB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.5578, allocations: 7.938 kB / 0.7265 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.5579, allocations: 11.86 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.5581, allocations: 43.69 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.5584, allocations: 147.4 kB / 0.7267 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.5587, allocations: 263.2 kB / 0.727 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.5588, allocations: 64.27 kB / 0.727 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.559, allocations: 99.56 kB / 0.7271 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.5591, allocations: 115.5 kB / 0.7272 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.5591, allocations: 12 kB / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.5592, allocations: 12 kB / 0.7273 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.5592, allocations: 47.77 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.5594, allocations: 91.52 kB / 0.7274 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.5596, allocations: 249.1 kB / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5596, allocations: 0 / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5596, allocations: 0 / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.5596, allocations: 0 / 0.7276 GB, free: 9.234 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.001286/0.5609, allocations: 0.6345 MB / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.561, allocations: 8.031 kB / 0.7283 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.561, allocations: 24.66 kB / 0.7283 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.5614, allocations: 276.8 kB / 0.7285 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5614, allocations: 12.31 kB / 0.7286 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.5615, allocations: 12.38 kB / 0.7286 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.5621, allocations: 250.3 kB / 0.7288 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5621, allocations: 3.938 kB / 0.7288 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.5622, allocations: 7.984 kB / 0.7288 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5622, allocations: 4 kB / 0.7288 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.563, allocations: 219.8 kB / 0.729 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.5637, allocations: 0.5196 MB / 0.7295 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.5647, allocations: 266.5 kB / 0.7298 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.5651, allocations: 120.8 kB / 0.7299 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.5652, allocations: 0 / 0.7299 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006137/0.5658, allocations: 214 kB / 0.7301 GB, free: 6.508 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5658, allocations: 0 / 0.7301 GB, free: 6.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.00132/0.5671, allocations: 369.2 kB / 0.7305 GB, free: 6.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.5672, allocations: 59.41 kB / 0.7305 GB, free: 6.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.5674, allocations: 215.2 kB / 0.7307 GB, free: 5.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.5674, allocations: 33.69 kB / 0.7308 GB, free: 5.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.5675, allocations: 132.2 kB / 0.7309 GB, free: 5.676 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.5675, allocations: 47.38 kB / 0.7309 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.5676, allocations: 37.7 kB / 0.731 GB, free: 5.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5677, allocations: 330.8 kB / 0.7313 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.5682, allocations: 120.7 kB / 0.7314 GB, free: 5.133 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.5686, allocations: 111.9 kB / 0.7315 GB, free: 5.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.5694, allocations: 286.3 kB / 0.7318 GB, free: 4.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5694, allocations: 0 / 0.7318 GB, free: 4.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009409/0.5703, allocations: 360.5 kB / 0.7321 GB, free: 4.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.5704, allocations: 63.41 kB / 0.7322 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5704, allocations: 0 / 0.7322 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5704, allocations: 4 kB / 0.7322 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.5707, allocations: 47.88 kB / 0.7322 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5707, allocations: 0 / 0.7322 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.571, allocations: 47.84 kB / 0.7323 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.571, allocations: 4 kB / 0.7323 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004229/0.5714, allocations: 200 kB / 0.7325 GB, free: 3.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003442/0.5718, allocations: 107.8 kB / 0.7326 GB, free: 3.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006649/0.5725, allocations: 262.2 kB / 0.7328 GB, free: 3.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.5725, allocations: 0 / 0.7328 GB, free: 3.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008003/0.5733, allocations: 344.6 kB / 0.7331 GB, free: 3.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.5733, allocations: 65.06 kB / 0.7332 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.5733, allocations: 7.922 kB / 0.7332 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-06/0.5733, allocations: 0 / 0.7332 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.5736, allocations: 47.89 kB / 0.7333 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.5736, allocations: 4 kB / 0.7333 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5738, allocations: 39.86 kB / 0.7333 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.5738, allocations: 8 kB / 0.7333 GB, free: 3.074 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 9.952e-05/0.5739, allocations: 191 kB / 0.7335 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.574, allocations: 23.75 kB / 0.7335 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.574, allocations: 21.53 kB / 0.7335 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5741, allocations: 0 / 0.7335 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5741, allocations: 3.938 kB / 0.7335 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5741, allocations: 3.984 kB / 0.7335 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.5743, allocations: 273.5 kB / 0.7338 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5743, allocations: 3.938 kB / 0.7338 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.5746, allocations: 43.94 kB / 0.7339 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5746, allocations: 0 / 0.7339 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.5746, allocations: 4 kB / 0.7339 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5746, allocations: 8 kB / 0.7339 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5746, allocations: 0 / 0.7339 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.5754, allocations: 300.6 kB / 0.7341 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.5755, allocations: 100.8 kB / 0.7342 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.5755, allocations: 7.938 kB / 0.7343 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.5758, allocations: 39.94 kB / 0.7343 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.5759, allocations: 23.95 kB / 0.7343 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.5759, allocations: 8 kB / 0.7343 GB, free: 1.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001203/0.5761, allocations: 160.7 kB / 0.7345 GB, free: 1.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5761, allocations: 0 / 0.7345 GB, free: 1.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003069/0.5764, allocations: 71.84 kB / 0.7345 GB, free: 1.727 MB / 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.0001299/0.5765, allocations: 111.2 kB / 0.7346 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.5778, allocations: 0.5793 MB / 0.7352 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5778, allocations: 7.938 kB / 0.7352 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.5783, allocations: 134.8 kB / 0.7354 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.5786, allocations: 52.45 kB / 0.7354 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.5794, allocations: 410.4 kB / 0.7358 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.5796, allocations: 0.7326 MB / 0.7365 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.5797, allocations: 25.53 kB / 0.7365 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.5798, allocations: 19.44 kB / 0.7366 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5798, allocations: 0 / 0.7366 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.005183/0.585, allocations: 2.887 MB / 0.7394 GB, free: 12.73 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (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)