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.491/2.491, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001375/0.001375, allocations: 181 kB / 498.1 MB, free: 5.684 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.836/1.836, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001138/0.001138, allocations: 92.34 kB / 0.9346 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 13.69 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3514, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.5786, allocations: 151.9 MB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/0.579, allocations: 83.94 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.591, allocations: 3.744 MB / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5911, allocations: 0 / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.5911, allocations: 8 kB / 1.375 GB, free: 6.262 MB / 0.8698 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.001325/0.5925, allocations: 0.6166 MB / 1.376 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.5925, allocations: 15.97 kB / 1.376 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.5926, allocations: 23.67 kB / 1.376 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.5931, allocations: 254.7 kB / 1.376 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.5931, allocations: 16 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.5932, allocations: 11.94 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.594, allocations: 301 kB / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.594, allocations: 4 kB / 1.376 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.594, allocations: 0 / 1.376 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.594, allocations: 4 kB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/0.595, allocations: 315.7 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.596, allocations: 0.5625 MB / 1.377 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.5973, allocations: 390.4 kB / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5973, allocations: 0 / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/0.5981, allocations: 231.2 kB / 1.378 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.5981, allocations: 3.938 kB / 1.378 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.001659/0.5997, allocations: 0.5192 MB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/0.5998, allocations: 114.8 kB / 1.378 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.6001, allocations: 186.2 kB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.6001, allocations: 33.7 kB / 1.378 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.6002, allocations: 120.3 kB / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.6003, allocations: 43.36 kB / 1.379 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.6003, allocations: 12 kB / 1.379 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6005, allocations: 334.8 kB / 1.379 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.601, allocations: 151.9 kB / 1.379 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.6015, allocations: 194.4 kB / 1.379 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.602, allocations: 208.3 kB / 1.379 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.602, allocations: 4 kB / 1.379 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001138/0.6032, allocations: 461.2 kB / 1.38 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.6033, allocations: 149.9 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.6033, allocations: 0 / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6034, allocations: 7.938 kB / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.6037, allocations: 79.86 kB / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6037, allocations: 0 / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.604, allocations: 71.78 kB / 1.38 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.6041, allocations: 8 kB / 1.38 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.6041, allocations: 4 kB / 1.38 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008733/0.605, allocations: 360 kB / 1.381 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.605, allocations: 3.984 kB / 1.381 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/0.605, allocations: 0 / 1.381 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.6052, allocations: 67.88 kB / 1.381 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.6053, allocations: 3.938 kB / 1.381 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.6055, allocations: 59.86 kB / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.6056, allocations: 4 kB / 1.381 GB, free: 84 kB / 0.8698 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.0002321/0.6058, allocations: 214.3 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.6058, allocations: 15.81 kB / 1.381 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.6059, allocations: 17.53 kB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6059, allocations: 4 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6059, allocations: 0 / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.606, allocations: 3.984 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.6063, allocations: 289.4 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6063, allocations: 0 / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.6066, allocations: 63.94 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6066, allocations: 7.938 kB / 1.381 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.6066, allocations: 11.98 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6066, allocations: 0 / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6066, allocations: 0 / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.6077, allocations: 404.5 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.6078, allocations: 96.84 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.6078, allocations: 8 kB / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.6081, allocations: 59.94 kB / 1.382 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6083, allocations: 31.95 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.6083, allocations: 7.984 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001618/0.6085, allocations: 152.4 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6085, allocations: 0 / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003661/0.6088, allocations: 87.84 kB / 1.382 GB, free: 14.54 MB / 0.8855 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.0002337/0.6091, allocations: 111.4 kB / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.6107, allocations: 0.7101 MB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6107, allocations: 0 / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.6113, allocations: 171.8 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.6116, allocations: 47.86 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.6127, allocations: 435 kB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.6131, allocations: 0.7328 MB / 1.384 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.6133, allocations: 25.55 kB / 1.384 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.6134, allocations: 23.42 kB / 1.384 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.6134, allocations: 0 / 1.384 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of Templates: time 0.007166/0.6206, allocations: 3.135 MB / 1.387 GB, free: 9.086 MB / 0.8855 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