Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.995/4.995, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002467/0.002467, allocations: 354.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.315/4.315, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 185 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005184, allocations: 15.98 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7285, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00237/0.731, allocations: 1.66 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.7322, allocations: 0.6444 MB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.7324, allocations: 2.906 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.7324, allocations: 11.86 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.7326, allocations: 39.64 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.7331, allocations: 114.9 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.7334, allocations: 243.2 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.7335, allocations: 53.05 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.7337, allocations: 88.53 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.7338, allocations: 100.2 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.7339, allocations: 8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.003e-05/0.7339, allocations: 13.59 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.734, allocations: 39.81 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.7341, allocations: 61.58 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.7343, allocations: 177.6 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7343, allocations: 0.5312 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7344, allocations: 4 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7344, allocations: 1.625 kB / 1.465 GB, free: 281.1 MB / 0.8542 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.001709/0.7361, allocations: 0.6297 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7361, allocations: 11.62 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.7362, allocations: 29.36 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.7367, allocations: 271.5 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.7368, allocations: 11.94 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.7368, allocations: 16.86 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.7379, allocations: 270 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7379, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.738, allocations: 9.219 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.738, allocations: 4.5 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.7396, allocations: 269.8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.7405, allocations: 0.5189 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.7424, allocations: 317.2 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/0.7432, allocations: 147.1 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.7433, allocations: 4 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009655/0.7442, allocations: 208.5 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/0.7442, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.002525/0.7468, allocations: 462.2 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.7468, allocations: 55.91 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.7471, allocations: 209 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.7471, allocations: 30.36 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.7472, allocations: 136.2 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.7473, allocations: 40.11 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.7473, allocations: 7.219 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.7474, allocations: 330.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.7482, allocations: 135.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.749, allocations: 139.8 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.7498, allocations: 180.7 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7498, allocations: 5.5 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001806/0.7516, allocations: 412.6 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.7517, allocations: 155.7 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7518, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.7518, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.7523, allocations: 62 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7523, allocations: 4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.7529, allocations: 60.72 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.7529, allocations: 9.641 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.7529, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/0.7545, allocations: 367 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.7545, allocations: 3.984 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-06/0.7545, allocations: 0 / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.755, allocations: 55.33 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.755, allocations: 3.938 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.7555, allocations: 62.23 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.7555, allocations: 4 kB / 1.47 GB, free: 275.3 MB / 0.8542 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.0001701/0.7557, allocations: 222.6 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.7557, allocations: 15.81 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.7558, allocations: 21.53 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7558, allocations: 5.266 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7559, allocations: 4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.7559, allocations: 92.83 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.756, allocations: 9.297 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.7565, allocations: 49.47 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.7567, allocations: 32.86 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002131/0.7588, allocations: 441.1 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001691/0.7605, allocations: 0.4968 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008117/0.7613, allocations: 144.2 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001596/0.7615, allocations: 159.8 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.61e-07/0.7615, allocations: 0 / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.7636, allocations: 0.6122 MB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009712/0.7646, allocations: 0.8212 MB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.009484/0.7741, allocations: 3.689 MB / 1.477 GB, free: 268.6 MB / 0.8542 GB