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.015/5.015, allocations: 0.5623 GB / 0.5775 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.002551/0.002551, allocations: 355.2 kB / 0.6446 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 4.416/4.416, allocations: 410.7 MB / 1.113 GB, free: 6.086 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.001912/0.001912, allocations: 194.6 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005299/0.0005302, allocations: 11.98 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7524, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.9674, allocations: 140.3 MB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/0.9678, allocations: 89.2 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02119/0.989, allocations: 3.686 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9891, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.9891, allocations: 4.719 kB / 1.602 GB, free: 140.2 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.002094/0.9912, allocations: 0.6295 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.9913, allocations: 11.62 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.9914, allocations: 27.72 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.9919, allocations: 268.8 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.992, allocations: 8 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.9921, allocations: 12 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.9936, allocations: 291.9 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9937, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.9937, allocations: 8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.9938, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.9961, allocations: 320.2 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.9976, allocations: 0.5694 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/1, allocations: 375.5 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.001, allocations: 171.4 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/1.002, allocations: 0 / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.003, allocations: 244.6 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.796e-06/1.003, allocations: 0 / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.003059/1.006, allocations: 0.5085 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.006, allocations: 110.8 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/1.006, allocations: 210.8 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/1.007, allocations: 35.12 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/1.007, allocations: 128.3 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/1.007, allocations: 55.31 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/1.007, allocations: 3.938 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/1.007, allocations: 332.6 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008739/1.008, allocations: 165 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/1.009, allocations: 189.3 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/1.009, allocations: 210.5 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.01, allocations: 0 / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00194/1.011, allocations: 461.2 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/1.012, allocations: 148.4 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/1.012, allocations: 0 / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.012, allocations: 3.938 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/1.012, allocations: 76.67 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.012, allocations: 4 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006623/1.013, allocations: 66.69 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.013, allocations: 8 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/1.013, allocations: 4 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001607/1.015, allocations: 365 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.015, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/1.015, allocations: 5.953 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/1.015, allocations: 57.55 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/1.015, allocations: 0 / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/1.016, allocations: 63.95 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/1.016, allocations: 11.98 kB / 1.608 GB, free: 133.9 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.0002131/1.016, allocations: 208.6 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/1.016, allocations: 19.81 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/1.016, allocations: 24.58 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.016, allocations: 0 / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.016, allocations: 4 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.016, allocations: 0 / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/1.017, allocations: 281.4 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.017, allocations: 3.938 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/1.017, allocations: 72.19 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.017, allocations: 4 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/1.017, allocations: 0 / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.017, allocations: 0.6875 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.017, allocations: 4.781 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/1.019, allocations: 418 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/1.019, allocations: 92.83 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/1.019, allocations: 8 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/1.02, allocations: 62.2 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.02, allocations: 36.67 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.02, allocations: 4 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001809/1.02, allocations: 153.9 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.02, allocations: 3.938 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005074/1.021, allocations: 87.77 kB / 1.609 GB, free: 132.4 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.0001585/1.021, allocations: 112.3 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.024, allocations: 0.6978 MB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.024, allocations: 0.8125 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/1.025, allocations: 187.3 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/1.025, allocations: 42.28 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/1.026, allocations: 441 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/1.027, allocations: 0.7479 MB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002144/1.027, allocations: 21.02 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.027, allocations: 23.42 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.333e-06/1.027, allocations: 0 / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.008965/1.036, allocations: 3.149 MB / 1.615 GB, free: 127.1 MB / 0.8542 GB