Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_latest_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_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 185.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 94.09 kB / 0.9329 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 56.09 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3494, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00332/0.3527, allocations: 2.057 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.3537, allocations: 0.6469 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.3538, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.3539, allocations: 11.86 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.354, allocations: 31.72 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.3544, allocations: 143.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.3546, allocations: 271.2 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3548, allocations: 63.91 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3549, allocations: 99.61 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.355, allocations: 115.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3551, allocations: 12 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.174e-05/0.3551, allocations: 12 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.3552, allocations: 39.83 kB / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.3553, allocations: 103.4 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3555, allocations: 245.3 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3555, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3555, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3555, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 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.00122/0.3567, allocations: 0.6267 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3568, allocations: 11.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.3569, allocations: 24.73 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.3572, allocations: 283.5 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3572, allocations: 8.375 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.3572, allocations: 16.38 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.3578, allocations: 241.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3579, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.3579, allocations: 8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3579, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.3587, allocations: 227.8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.3593, allocations: 0.5118 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/0.3603, allocations: 270.5 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.3607, allocations: 116.7 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3607, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.3614, allocations: 199.1 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.3614, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.001312/0.3627, allocations: 385 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3627, allocations: 59.41 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3629, allocations: 203.9 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3629, allocations: 33.7 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.363, allocations: 132.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.363, allocations: 39.44 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.3631, allocations: 41.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.3632, allocations: 330.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.3636, allocations: 120.7 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.364, allocations: 118.2 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.3648, allocations: 273.2 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3648, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009004/0.3657, allocations: 373.1 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.3658, allocations: 59.41 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3658, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3658, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.3661, allocations: 47.94 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3661, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3664, allocations: 47.84 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3664, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004017/0.3668, allocations: 200 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003359/0.3672, allocations: 117 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006472/0.3678, allocations: 250.1 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.3678, allocations: 4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0007951/0.3686, allocations: 342.1 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.3687, allocations: 71.27 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.3687, allocations: 4 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-06/0.3687, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3689, allocations: 47.89 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.3689, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3692, allocations: 39.89 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3692, allocations: 11.98 kB / 1.228 GB, free: 107.3 MB / 0.823 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 8.796e-05/0.3693, allocations: 192.9 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.3693, allocations: 23.66 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.3694, allocations: 25.52 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3694, allocations: 0 / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3694, allocations: 3.984 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3694, allocations: 4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3696, allocations: 265.4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3696, allocations: 7.938 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3698, allocations: 51.88 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3698, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3699, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3699, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3699, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3713, allocations: 0.9968 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.3713, allocations: 92.86 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.3714, allocations: 11.98 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3716, allocations: 31.95 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.3717, allocations: 27.95 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3717, allocations: 4 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3718, allocations: 160.4 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3718, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004885/0.3723, allocations: 79.78 kB / 1.229 GB, free: 105.2 MB / 0.823 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.000122/0.3725, allocations: 107.2 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.3737, allocations: 0.5882 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3738, allocations: 11.94 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.3742, allocations: 123.8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3745, allocations: 43.91 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.3754, allocations: 0.5312 MB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.3756, allocations: 0.7287 MB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.3757, allocations: 25.55 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.3758, allocations: 23.42 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.3758, allocations: 0 / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of Templates: time 0.005393/0.3812, allocations: 3.032 MB / 1.235 GB, free: 99.97 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)