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.001468/0.001468, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001988/0.001988, allocations: 194.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.603/1.603, allocations: 251.6 MB / 0.5089 GB, free: 3.312 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.001574/0.001574, allocations: 59.91 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5807, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003124/0.5838, allocations: 2.046 MB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.5848, allocations: 0.6941 MB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.585, allocations: 7.938 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.746e-05/0.585, allocations: 11.86 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.5852, allocations: 39.69 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.5856, allocations: 146.5 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.5859, allocations: 287.2 kB / 0.7272 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.5861, allocations: 68.27 kB / 0.7272 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.5862, allocations: 111.6 kB / 0.7273 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.5863, allocations: 123.5 kB / 0.7274 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.5864, allocations: 24 kB / 0.7275 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.5864, allocations: 24 kB / 0.7275 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.5865, allocations: 63.77 kB / 0.7275 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.5866, allocations: 107.5 kB / 0.7277 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.5868, allocations: 257.1 kB / 0.7279 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5869, allocations: 0 / 0.7279 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5869, allocations: 0 / 0.7279 GB, free: 9.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5869, allocations: 0 / 0.7279 GB, free: 9.098 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.001186/0.5881, allocations: 0.6306 MB / 0.7285 GB, free: 8.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5881, allocations: 8.031 kB / 0.7285 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.5882, allocations: 28.66 kB / 0.7285 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.5886, allocations: 276.8 kB / 0.7288 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.5886, allocations: 12.31 kB / 0.7288 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.5886, allocations: 16.36 kB / 0.7288 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.5892, allocations: 257.8 kB / 0.7291 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5893, allocations: 0 / 0.7291 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.5893, allocations: 7.984 kB / 0.7291 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5893, allocations: 4 kB / 0.7291 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.5901, allocations: 219.8 kB / 0.7293 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.5908, allocations: 0.5157 MB / 0.7298 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.5918, allocations: 266.5 kB / 0.7301 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.5922, allocations: 120.8 kB / 0.7302 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.5922, allocations: 0 / 0.7302 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.5928, allocations: 203 kB / 0.7304 GB, free: 6.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5928, allocations: 0 / 0.7304 GB, free: 6.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001293/0.5941, allocations: 377.1 kB / 0.7307 GB, free: 6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.5941, allocations: 59.41 kB / 0.7308 GB, free: 5.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5943, allocations: 215.2 kB / 0.731 GB, free: 5.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.5944, allocations: 33.69 kB / 0.731 GB, free: 5.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.5945, allocations: 132.2 kB / 0.7312 GB, free: 5.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.5945, allocations: 47.38 kB / 0.7312 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.5946, allocations: 33.7 kB / 0.7312 GB, free: 5.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5947, allocations: 330.8 kB / 0.7315 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.5951, allocations: 124.7 kB / 0.7317 GB, free: 4.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.5955, allocations: 111.9 kB / 0.7318 GB, free: 4.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.5963, allocations: 283.5 kB / 0.732 GB, free: 4.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5963, allocations: 0 / 0.732 GB, free: 4.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008982/0.5972, allocations: 364.5 kB / 0.7324 GB, free: 4.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.5973, allocations: 59.41 kB / 0.7324 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5973, allocations: 4 kB / 0.7324 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5973, allocations: 0 / 0.7324 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.5976, allocations: 47.94 kB / 0.7325 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5976, allocations: 3.984 kB / 0.7325 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.5979, allocations: 47.78 kB / 0.7325 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.5979, allocations: 8 kB / 0.7326 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004086/0.5983, allocations: 204 kB / 0.7327 GB, free: 3.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003362/0.5987, allocations: 105.9 kB / 0.7328 GB, free: 3.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006364/0.5993, allocations: 262.4 kB / 0.7331 GB, free: 3.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.5993, allocations: 0 / 0.7331 GB, free: 3.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0007779/0.6001, allocations: 340.6 kB / 0.7334 GB, free: 3.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.6002, allocations: 67.34 kB / 0.7335 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.6002, allocations: 3.938 kB / 0.7335 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.6002, allocations: 3.984 kB / 0.7335 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.6004, allocations: 47.89 kB / 0.7335 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.6004, allocations: 0 / 0.7335 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.6006, allocations: 39.86 kB / 0.7336 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.6007, allocations: 4 kB / 0.7336 GB, free: 2.938 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 (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 0.0001157/0.6008, allocations: 188.2 kB / 0.7338 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.6008, allocations: 23.75 kB / 0.7338 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.6009, allocations: 25.53 kB / 0.7338 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6009, allocations: 0 / 0.7338 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6009, allocations: 0 / 0.7338 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6009, allocations: 7.984 kB / 0.7338 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.6011, allocations: 273.4 kB / 0.7341 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6012, allocations: 3.938 kB / 0.7341 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.6014, allocations: 51.88 kB / 0.7341 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6014, allocations: 3.984 kB / 0.7341 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.6014, allocations: 4 kB / 0.7341 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6015, allocations: 4 kB / 0.7341 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6015, allocations: 0 / 0.7341 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.6023, allocations: 307.8 kB / 0.7344 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.6024, allocations: 96.8 kB / 0.7345 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.6024, allocations: 8 kB / 0.7345 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.6027, allocations: 35.94 kB / 0.7346 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.6028, allocations: 31.91 kB / 0.7346 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.6028, allocations: 7.984 kB / 0.7346 GB, free: 1.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001245/0.603, allocations: 160.7 kB / 0.7348 GB, free: 1.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.603, allocations: 0 / 0.7348 GB, free: 1.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003139/0.6033, allocations: 71.84 kB / 0.7348 GB, free: 1.574 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 (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.0001259/0.6034, allocations: 103.2 kB / 0.7349 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.6047, allocations: 0.5987 MB / 0.7355 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6048, allocations: 0 / 0.7355 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.6052, allocations: 123.9 kB / 0.7356 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.6055, allocations: 52.45 kB / 0.7357 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.6064, allocations: 420.5 kB / 0.7361 GB, free: 208 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.6066, allocations: 0.7285 MB / 0.7368 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.6068, allocations: 21.55 kB / 0.7368 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.6068, allocations: 27.42 kB / 0.7368 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.6069, allocations: 0 / 0.7368 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.005686/0.6125, allocations: 3.05 MB / 0.7398 GB, free: 12.41 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (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)