Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 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="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_9_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.001247/0.001247, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.01085/0.01085, allocations: 169.2 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003626, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8484, allocations: 142.4 MB / 0.955 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002143/0.8506, allocations: 1.702 MB / 0.9567 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.8516, allocations: 0.6362 MB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.8517, allocations: 2.781 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.8518, allocations: 11.86 kB / 0.9573 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.8519, allocations: 36.45 kB / 0.9574 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.8523, allocations: 155.2 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.8526, allocations: 265.8 kB / 0.9578 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.8528, allocations: 61.58 kB / 0.9578 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.8529, allocations: 91.58 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.8531, allocations: 100.1 kB / 0.958 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.8531, allocations: 10.03 kB / 0.958 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.8531, allocations: 9.875 kB / 0.958 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.8532, allocations: 39.19 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.8533, allocations: 118.8 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.8535, allocations: 234.2 kB / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8535, allocations: 1.281 kB / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8536, allocations: 4 kB / 0.9584 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8536, allocations: 0 / 0.9584 GB, free: 4.973 MB / 0.7169 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.8548, allocations: 0.6213 MB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8548, allocations: 9.875 kB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.8549, allocations: 23.91 kB / 0.9591 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.8553, allocations: 266.8 kB / 0.9593 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.8553, allocations: 11.16 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.8553, allocations: 14 kB / 0.9593 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.856, allocations: 276 kB / 0.9596 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8561, allocations: 0 / 0.9596 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.8561, allocations: 6.75 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8561, allocations: 2.75 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.857, allocations: 268.6 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.8578, allocations: 0.5172 MB / 0.9604 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.8588, allocations: 313.5 kB / 0.9607 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.8593, allocations: 146.9 kB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.8594, allocations: 5.875 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000637/0.86, allocations: 228.2 kB / 0.961 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.86, allocations: 0 / 0.961 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001546/0.8616, allocations: 462.7 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.8616, allocations: 54.59 kB / 0.9615 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.8618, allocations: 215.8 kB / 0.9617 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.8619, allocations: 27.67 kB / 0.9618 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.8619, allocations: 133.1 kB / 0.9619 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.862, allocations: 49.22 kB / 0.9619 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.862, allocations: 24.05 kB / 0.962 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.8621, allocations: 326.9 kB / 0.9623 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.8626, allocations: 141.9 kB / 0.9624 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.8631, allocations: 134.8 kB / 0.9625 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/0.864, allocations: 335.1 kB / 0.9629 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.864, allocations: 0 / 0.9629 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001075/0.8651, allocations: 418.1 kB / 0.9633 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.8652, allocations: 144.8 kB / 0.9634 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8652, allocations: 0 / 0.9634 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8652, allocations: 1.25 kB / 0.9634 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.8655, allocations: 64.34 kB / 0.9635 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.8655, allocations: 0 / 0.9635 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.8658, allocations: 53.72 kB / 0.9635 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.8659, allocations: 7.531 kB / 0.9635 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.8659, allocations: 9.375 kB / 0.9635 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009061/0.8668, allocations: 375.3 kB / 0.9639 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.8668, allocations: 0 / 0.9639 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.8668, allocations: 9.234 kB / 0.9639 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.8671, allocations: 54.33 kB / 0.9639 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.8671, allocations: 1.406 kB / 0.9639 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.8673, allocations: 55.36 kB / 0.964 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.8674, allocations: 7.859 kB / 0.964 GB, free: 1.059 MB / 0.7169 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.0001322/0.8675, allocations: 212.5 kB / 0.9642 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.8676, allocations: 23.69 kB / 0.9642 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.8676, allocations: 21.53 kB / 0.9642 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8676, allocations: 2.312 kB / 0.9642 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8676, allocations: 4 kB / 0.9643 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8677, allocations: 5.234 kB / 0.9643 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.8679, allocations: 268.7 kB / 0.9645 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8679, allocations: 4 kB / 0.9645 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.8682, allocations: 55.73 kB / 0.9646 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8682, allocations: 8.969 kB / 0.9646 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.8682, allocations: 9.203 kB / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8682, allocations: 1.188 kB / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8682, allocations: 0 / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.8692, allocations: 351.6 kB / 0.9649 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.8693, allocations: 100.9 kB / 0.965 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.8693, allocations: 9.906 kB / 0.965 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.8696, allocations: 50.53 kB / 0.9651 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.8697, allocations: 22.88 kB / 0.9651 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.8697, allocations: 7.391 kB / 0.9651 GB, free: 164 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000132/0.8699, allocations: 160.8 kB / 0.9653 GB, free: 44 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8699, allocations: 0 / 0.9653 GB, free: 44 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003522/0.8703, allocations: 74.38 kB / 0.9653 GB, free: 28 kB / 0.7169 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.0001706/0.8704, allocations: 107.8 kB / 0.9654 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.8721, allocations: 0.6592 MB / 0.9661 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8721, allocations: 4 kB / 0.9661 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.8727, allocations: 153.6 kB / 0.9662 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.873, allocations: 33.86 kB / 0.9663 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.874, allocations: 416.3 kB / 0.9667 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.8743, allocations: 0.7324 MB / 0.9674 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.8745, allocations: 21.86 kB / 0.9674 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.8746, allocations: 21.86 kB / 0.9674 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8746, allocations: 4 kB / 0.9674 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.006523/0.8811, allocations: 2.846 MB / 0.9702 GB, free: 12.96 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches