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.00101/0.001014, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001202/0.001202, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.657/1.657, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0007872/0.0007874, allocations: 12 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7627, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002475/0.7652, allocations: 1.641 MB / 0.7296 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.7664, allocations: 0.6594 MB / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.7665, allocations: 4 kB / 0.7302 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.7666, allocations: 11.86 kB / 0.7302 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.7668, allocations: 43.84 kB / 0.7303 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.7672, allocations: 120.8 kB / 0.7304 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.7675, allocations: 159.7 kB / 0.7305 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.7677, allocations: 60.38 kB / 0.7306 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.7678, allocations: 83.73 kB / 0.7307 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.768, allocations: 99.56 kB / 0.7308 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.768, allocations: 12 kB / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.153e-05/0.768, allocations: 8 kB / 0.7308 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.7681, allocations: 31.84 kB / 0.7308 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.7682, allocations: 61.56 kB / 0.7309 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.7684, allocations: 189.5 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7685, allocations: 4 kB / 0.7311 GB, free: 8.254 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7685, allocations: 4 kB / 0.7311 GB, free: 8.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7685, allocations: 0 / 0.7311 GB, free: 8.25 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.001365/0.7698, allocations: 0.6266 MB / 0.7317 GB, free: 7.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7699, allocations: 8.031 kB / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.77, allocations: 19.81 kB / 0.7317 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.7705, allocations: 275.5 kB / 0.732 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.7705, allocations: 8 kB / 0.732 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.7705, allocations: 12 kB / 0.732 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.7713, allocations: 269.5 kB / 0.7323 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.7713, allocations: 0 / 0.7323 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.7713, allocations: 8 kB / 0.7323 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.7714, allocations: 0 / 0.7323 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.7723, allocations: 271.8 kB / 0.7325 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.7735, allocations: 0.5235 MB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.7747, allocations: 318.5 kB / 0.7333 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.7748, allocations: 4 kB / 0.7333 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007411/0.7755, allocations: 214.4 kB / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 4.468e-06/0.7755, allocations: 0 / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001643/0.7772, allocations: 468.9 kB / 0.734 GB, free: 5.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.7773, allocations: 55.41 kB / 0.734 GB, free: 5.004 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.7776, allocations: 211.2 kB / 0.7342 GB, free: 4.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.7776, allocations: 29.7 kB / 0.7343 GB, free: 4.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.7778, allocations: 132.3 kB / 0.7344 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.7778, allocations: 47.34 kB / 0.7344 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.7779, allocations: 4 kB / 0.7344 GB, free: 4.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.7781, allocations: 334.8 kB / 0.7348 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.7786, allocations: 135.9 kB / 0.7349 GB, free: 4.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.7791, allocations: 143.5 kB / 0.735 GB, free: 3.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.7797, allocations: 179.3 kB / 0.7352 GB, free: 3.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7797, allocations: 0 / 0.7352 GB, free: 3.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001281/0.781, allocations: 416.5 kB / 0.7356 GB, free: 3.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.7812, allocations: 151 kB / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7812, allocations: 0 / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.7812, allocations: 0 / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.7815, allocations: 63.94 kB / 0.7358 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7816, allocations: 0 / 0.7358 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.7819, allocations: 59.78 kB / 0.7359 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.7819, allocations: 12 kB / 0.7359 GB, free: 3.051 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.782, allocations: 4 kB / 0.7359 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009947/0.783, allocations: 371.1 kB / 0.7362 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.783, allocations: 0 / 0.7362 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/0.783, allocations: 3.984 kB / 0.7362 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.7832, allocations: 55.95 kB / 0.7363 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.7832, allocations: 0 / 0.7363 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.7835, allocations: 55.8 kB / 0.7363 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7835, allocations: 4 kB / 0.7363 GB, free: 2.555 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 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.7838, allocations: 224.1 kB / 0.7366 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.7838, allocations: 15.81 kB / 0.7366 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.7839, allocations: 25.52 kB / 0.7366 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.7839, allocations: 4 kB / 0.7366 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.7839, allocations: 0 / 0.7366 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.7839, allocations: 3.984 kB / 0.7366 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.7843, allocations: 273.4 kB / 0.7369 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7843, allocations: 0 / 0.7369 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.7847, allocations: 63.88 kB / 0.7369 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7847, allocations: 0 / 0.7369 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.7847, allocations: 4 kB / 0.7369 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7847, allocations: 4 kB / 0.7369 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7848, allocations: 3.938 kB / 0.7369 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.7858, allocations: 360.5 kB / 0.7373 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.7859, allocations: 96.86 kB / 0.7374 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.7859, allocations: 4 kB / 0.7374 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.7862, allocations: 55.94 kB / 0.7374 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7864, allocations: 23.95 kB / 0.7375 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.7864, allocations: 8 kB / 0.7375 GB, free: 1.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001742/0.7866, allocations: 156.7 kB / 0.7376 GB, free: 1.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7866, allocations: 0 / 0.7376 GB, free: 1.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000353/0.7869, allocations: 71.84 kB / 0.7377 GB, free: 1.098 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.7872, allocations: 107.2 kB / 0.7378 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.7888, allocations: 0.6613 MB / 0.7384 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7889, allocations: 0 / 0.7384 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.7894, allocations: 147.3 kB / 0.7386 GB, free: 132 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.7897, allocations: 49.33 kB / 0.7386 GB, free: 80 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.7907, allocations: 414.3 kB / 0.739 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.7911, allocations: 0.7367 MB / 0.7397 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.7913, allocations: 21.55 kB / 0.7398 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.7914, allocations: 23.42 kB / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.7914, allocations: 0 / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.006961/0.7983, allocations: 2.766 MB / 0.7425 GB, free: 12.13 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: