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.0008047/0.0008047, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001016/0.001016, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.627/1.627, allocations: 252 MB / 0.5102 GB, free: 4.801 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.0005472/0.0005473, allocations: 16 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5095, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002229/0.5118, allocations: 1.665 MB / 0.7298 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.5129, allocations: 0.6633 MB / 0.7304 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.513, allocations: 7.938 kB / 0.7304 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.5131, allocations: 11.86 kB / 0.7304 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.5132, allocations: 39.69 kB / 0.7305 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.5137, allocations: 114.5 kB / 0.7306 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.514, allocations: 247.2 kB / 0.7308 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.5141, allocations: 48.47 kB / 0.7308 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.5142, allocations: 87.67 kB / 0.7309 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.5144, allocations: 103.5 kB / 0.731 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.5144, allocations: 8 kB / 0.731 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.224e-05/0.5145, allocations: 12 kB / 0.7311 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.5145, allocations: 39.81 kB / 0.7311 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.5146, allocations: 57.64 kB / 0.7311 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.5148, allocations: 189.5 kB / 0.7313 GB, free: 8.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5148, allocations: 0 / 0.7313 GB, free: 8.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5148, allocations: 4 kB / 0.7313 GB, free: 8.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.5149, allocations: 0 / 0.7313 GB, free: 8.156 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.001175/0.516, allocations: 0.6305 MB / 0.7319 GB, free: 7.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5161, allocations: 12.03 kB / 0.732 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.5161, allocations: 19.81 kB / 0.732 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.5165, allocations: 275.5 kB / 0.7322 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5166, allocations: 8 kB / 0.7322 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.5166, allocations: 16 kB / 0.7323 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.5172, allocations: 269.5 kB / 0.7325 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5173, allocations: 4 kB / 0.7325 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.5173, allocations: 4 kB / 0.7325 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5173, allocations: 4 kB / 0.7325 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007904/0.5181, allocations: 267.8 kB / 0.7328 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.5189, allocations: 0.5273 MB / 0.7333 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.5198, allocations: 318.5 kB / 0.7336 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.5202, allocations: 140.8 kB / 0.7337 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5202, allocations: 4 kB / 0.7337 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.5208, allocations: 222 kB / 0.734 GB, free: 5.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.5208, allocations: 0 / 0.734 GB, free: 5.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.00128/0.5221, allocations: 457 kB / 0.7344 GB, free: 4.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5222, allocations: 59.39 kB / 0.7344 GB, free: 4.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.5224, allocations: 215.2 kB / 0.7346 GB, free: 4.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5224, allocations: 29.7 kB / 0.7347 GB, free: 4.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.5225, allocations: 128.3 kB / 0.7348 GB, free: 4.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.5225, allocations: 43.36 kB / 0.7348 GB, free: 4.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.5226, allocations: 7.938 kB / 0.7348 GB, free: 4.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5227, allocations: 334.8 kB / 0.7352 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.5231, allocations: 143.9 kB / 0.7353 GB, free: 3.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.5235, allocations: 133.5 kB / 0.7354 GB, free: 3.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.524, allocations: 186.6 kB / 0.7356 GB, free: 3.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.524, allocations: 0 / 0.7356 GB, free: 3.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009098/0.5249, allocations: 412.5 kB / 0.736 GB, free: 3.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.525, allocations: 145.2 kB / 0.7361 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.525, allocations: 0 / 0.7361 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.525, allocations: 4 kB / 0.7361 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.5253, allocations: 67.88 kB / 0.7362 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5253, allocations: 0 / 0.7362 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.5256, allocations: 63.78 kB / 0.7363 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.5256, allocations: 4 kB / 0.7363 GB, free: 2.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/0.5256, allocations: 4 kB / 0.7363 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008005/0.5264, allocations: 367.1 kB / 0.7366 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.5264, allocations: 0 / 0.7366 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.5264, allocations: 4 kB / 0.7366 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.5266, allocations: 59.88 kB / 0.7367 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-06/0.5267, allocations: 0 / 0.7367 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.5269, allocations: 55.8 kB / 0.7367 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5269, allocations: 8 kB / 0.7368 GB, free: 2.301 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 ($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.0001443/0.5271, allocations: 212.2 kB / 0.737 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.5271, allocations: 15.81 kB / 0.737 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.5272, allocations: 29.52 kB / 0.737 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5272, allocations: 0 / 0.737 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5272, allocations: 0 / 0.737 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5272, allocations: 0 / 0.737 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.5274, allocations: 281.3 kB / 0.7373 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5274, allocations: 4 kB / 0.7373 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5277, allocations: 59.89 kB / 0.7373 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5277, allocations: 0 / 0.7373 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5277, allocations: 7.984 kB / 0.7373 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5277, allocations: 4 kB / 0.7373 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5277, allocations: 4 kB / 0.7373 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.5286, allocations: 356.6 kB / 0.7377 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.5287, allocations: 96.86 kB / 0.7378 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.5287, allocations: 0 / 0.7378 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5289, allocations: 55.94 kB / 0.7378 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.529, allocations: 31.95 kB / 0.7379 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5291, allocations: 0 / 0.7379 GB, free: 1.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000131/0.5292, allocations: 160.7 kB / 0.738 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5292, allocations: 0 / 0.738 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003023/0.5295, allocations: 67.84 kB / 0.7381 GB, free: 0.8555 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 (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.0001287/0.5296, allocations: 115.2 kB / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.531, allocations: 0.6624 MB / 0.7388 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.531, allocations: 0 / 0.7388 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.5314, allocations: 151.8 kB / 0.739 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.5318, allocations: 44.59 kB / 0.739 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.5326, allocations: 408.5 kB / 0.7394 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.5328, allocations: 0.7328 MB / 0.7401 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.533, allocations: 29.53 kB / 0.7402 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.5331, allocations: 19.44 kB / 0.7402 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.5331, allocations: 0 / 0.7402 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.005665/0.5387, allocations: 2.773 MB / 0.7429 GB, free: 11.88 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: