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 5.005/5.005, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.002368/0.002368, allocations: 356.1 kB / 0.644 GB, free: 185.7 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 3.905/3.905, allocations: 410.7 MB / 1.112 GB, free: 6.004 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.001778/0.001778, allocations: 191.2 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004896, allocations: 8 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5875, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.001884/0.5894, allocations: 1.66 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.5905, allocations: 0.639 MB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.5906, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.5906, allocations: 17.25 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.5908, allocations: 40.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.5912, allocations: 120.1 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.5915, allocations: 243.2 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.5916, allocations: 49.06 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.5917, allocations: 87.67 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.5919, allocations: 99.52 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.5919, allocations: 18.73 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.406e-05/0.592, allocations: 8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.592, allocations: 35.83 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.5921, allocations: 57.58 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5923, allocations: 189.6 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.854e-06/0.5923, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.842e-06/0.5923, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.5924, allocations: 2.562 kB / 1.464 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.001153/0.5935, allocations: 0.625 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5936, allocations: 15.62 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.5937, allocations: 23.72 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.5941, allocations: 273.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.5941, allocations: 9.438 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.5942, allocations: 16 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.5949, allocations: 265.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.595, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.595, allocations: 7.984 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-06/0.595, allocations: 5.219 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.5961, allocations: 278.2 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.597, allocations: 0.5198 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5982, allocations: 316.8 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.5987, allocations: 141.6 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.5988, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007047/0.5995, allocations: 221 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 4.245e-06/0.5995, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.001681/0.6012, allocations: 454.4 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6013, allocations: 55.94 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.6015, allocations: 210.7 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.6016, allocations: 34.27 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.6017, allocations: 133.2 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.6017, allocations: 43.44 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.6018, allocations: 9.469 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.6018, allocations: 334.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.6024, allocations: 132.6 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.6029, allocations: 136.8 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.6035, allocations: 187.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.894e-06/0.6035, allocations: 1.625 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001386/0.6049, allocations: 411.9 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.605, allocations: 154.3 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.928e-06/0.605, allocations: 0.5938 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.605, allocations: 1.219 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.6054, allocations: 59.41 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.361e-06/0.6054, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.6058, allocations: 61.83 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.6058, allocations: 12.7 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.664e-06/0.6059, allocations: 4.688 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/0.6069, allocations: 370.7 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.391e-06/0.6069, allocations: 2.719 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.027e-06/0.6069, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.6073, allocations: 57.14 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.304e-06/0.6073, allocations: 3.938 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.6076, allocations: 58.47 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.6077, allocations: 8 kB / 1.469 GB, free: 275.4 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.0001704/0.6078, allocations: 210.1 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.6079, allocations: 21.16 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.608, allocations: 21.52 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.608, allocations: 0.5625 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.398e-06/0.608, allocations: 7.938 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.783e-06/0.608, allocations: 6.562 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.6083, allocations: 274.2 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6083, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.6086, allocations: 56.97 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.603e-06/0.6086, allocations: 0.5312 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.6087, allocations: 9.203 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-06/0.6087, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-06/0.6087, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6098, allocations: 359.2 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.6099, allocations: 100.8 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.6099, allocations: 8 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.6103, allocations: 50.97 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.6104, allocations: 27.95 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.6104, allocations: 6.828 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001482/0.6106, allocations: 153.2 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.5e-07/0.6106, allocations: 0 / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000453/0.6111, allocations: 79.83 kB / 1.471 GB, free: 273.9 MB / 0.8542 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.0001096/0.6112, allocations: 100.5 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.6129, allocations: 0.6548 MB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.492e-06/0.6129, allocations: 8.562 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.6135, allocations: 155.6 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.6139, allocations: 42.41 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.6149, allocations: 415.1 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.6151, allocations: 0.7315 MB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.6153, allocations: 26.81 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.6154, allocations: 19.44 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.639e-06/0.6154, allocations: 0 / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.007111/0.6225, allocations: 2.776 MB / 1.475 GB, free: 269.1 MB / 0.8542 GB