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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.056/2.056, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.000977/0.0009769, allocations: 176.8 kB / 487.4 MB, free: 5.023 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.452/1.452, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008414, allocations: 95.91 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.607e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9127/1.175, allocations: 151.2 MB / 1.354 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.176, allocations: 82.61 kB / 1.354 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01127/1.187, allocations: 3.701 MB / 1.357 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/1.187, allocations: 0 / 1.357 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.187, allocations: 7.375 kB / 1.357 GB, free: 33.97 MB / 0.8386 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.0009449/1.188, allocations: 0.5876 MB / 1.358 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.188, allocations: 7.688 kB / 1.358 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/1.188, allocations: 23.28 kB / 1.358 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/1.188, allocations: 254.1 kB / 1.358 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.188, allocations: 10.64 kB / 1.358 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/1.188, allocations: 12.38 kB / 1.358 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002202/1.189, allocations: 105.9 kB / 1.358 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/1.189, allocations: 165 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.189, allocations: 0 / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/1.189, allocations: 0 / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.189, allocations: 3.844 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/1.19, allocations: 0.5231 MB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.19, allocations: 146.3 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.454e-05/1.19, allocations: 63.56 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/1.19, allocations: 0 / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/1.19, allocations: 133.4 kB / 1.359 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/1.19, allocations: 0 / 1.359 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002974/1.191, allocations: 147.1 kB / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/1.191, allocations: 112.1 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.191, allocations: 162.4 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/1.191, allocations: 29.64 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/1.191, allocations: 129.4 kB / 1.36 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/1.191, allocations: 49.84 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/1.191, allocations: 4 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.191, allocations: 329.7 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/1.191, allocations: 49 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/1.191, allocations: 87.67 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.274e-05/1.192, allocations: 45.3 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.192, allocations: 0 / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002406/1.192, allocations: 177.2 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/1.192, allocations: 145.2 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.192, allocations: 4.547 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.192, allocations: 2.531 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/1.192, allocations: 74.67 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.192, allocations: 3.844 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/1.193, allocations: 67.62 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/1.193, allocations: 11.97 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/1.193, allocations: 3.938 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001993/1.193, allocations: 124.6 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/1.193, allocations: 3.906 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/1.193, allocations: 0 / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/1.193, allocations: 59.59 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/1.193, allocations: 3.984 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/1.193, allocations: 57.61 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/1.193, allocations: 11.78 kB / 1.361 GB, free: 31.84 MB / 0.8386 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 () * 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 9.098e-05/1.193, allocations: 119.9 kB / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/1.193, allocations: 18.77 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/1.194, allocations: 17.09 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.194, allocations: 3.875 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.194, allocations: 0 / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.194, allocations: 3.375 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/1.194, allocations: 247.7 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.194, allocations: 7.953 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.194, allocations: 66.27 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.194, allocations: 0 / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.194, allocations: 7.234 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.194, allocations: 3.844 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.194, allocations: 0 / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/1.194, allocations: 181.1 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/1.194, allocations: 99.8 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/1.194, allocations: 0 / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.195, allocations: 66.75 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/1.195, allocations: 28.91 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/1.195, allocations: 5.297 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001002/1.195, allocations: 140.8 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.195, allocations: 4 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002964/1.195, allocations: 69.66 kB / 1.362 GB, free: 31.24 MB / 0.8386 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) * 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.0001428/1.195, allocations: 119.3 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003939/1.196, allocations: 423.9 kB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.196, allocations: 0 / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/1.196, allocations: 66.16 kB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/1.196, allocations: 39.42 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/1.197, allocations: 219.9 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/1.197, allocations: 0.7325 MB / 1.364 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001552/1.197, allocations: 40.88 kB / 1.364 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/1.197, allocations: 17 kB / 1.364 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.197, allocations: 0 / 1.364 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.005247/1.202, allocations: 3.09 MB / 1.367 GB, free: 29.88 MB / 0.8386 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","../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches