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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 249.3 MB / 261.8 MB, free: 6.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 173 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001052, allocations: 86.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.703e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2314, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.132, allocations: 134.3 MB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.132, allocations: 89.05 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01126/1.144, allocations: 3.701 MB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/1.144, allocations: 0 / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.782e-05/1.144, allocations: 4 kB / 1.027 GB, free: 13.17 MB / 0.6511 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.001092/1.145, allocations: 0.5873 MB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.145, allocations: 12.03 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/1.145, allocations: 19.81 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/1.145, allocations: 261.5 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.145, allocations: 15.62 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/1.145, allocations: 10.5 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/1.146, allocations: 183.8 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.146, allocations: 4 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/1.146, allocations: 7.75 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.146, allocations: 7.938 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/1.146, allocations: 108.5 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/1.147, allocations: 0.5586 MB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/1.147, allocations: 151.3 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/1.147, allocations: 61.34 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/1.148, allocations: 4 kB / 1.029 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/1.148, allocations: 135.7 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/1.148, allocations: 0 / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003737/1.148, allocations: 156.2 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/1.148, allocations: 114.7 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/1.148, allocations: 196.6 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/1.149, allocations: 33.33 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/1.149, allocations: 125.7 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/1.149, allocations: 49.09 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/1.149, allocations: 7.562 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.149, allocations: 330 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/1.149, allocations: 53.38 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/1.149, allocations: 83.77 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/1.149, allocations: 99.67 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.149, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00035/1.15, allocations: 238.8 kB / 1.03 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/1.15, allocations: 160.3 kB / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.15, allocations: 0 / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.15, allocations: 0 / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/1.15, allocations: 71.12 kB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.15, allocations: 4 kB / 1.03 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/1.15, allocations: 75.64 kB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/1.15, allocations: 8 kB / 1.03 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.15, allocations: 4 kB / 1.03 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003017/1.151, allocations: 197.6 kB / 1.031 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/1.151, allocations: 4 kB / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/1.151, allocations: 7.922 kB / 1.031 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/1.151, allocations: 51.95 kB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.151, allocations: 4 kB / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/1.151, allocations: 63.11 kB / 1.031 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.151, allocations: 7.984 kB / 1.031 GB, free: 9.242 MB / 0.6511 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 0.0001136/1.152, allocations: 120.6 kB / 1.031 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/1.152, allocations: 15.81 kB / 1.031 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/1.152, allocations: 27.77 kB / 1.031 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.152, allocations: 11.92 kB / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.152, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.152, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/1.152, allocations: 281.3 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.152, allocations: 4 kB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/1.152, allocations: 71.86 kB / 1.031 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.152, allocations: 0 / 1.031 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/1.152, allocations: 4 kB / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.152, allocations: 0 / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.152, allocations: 8 kB / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/1.153, allocations: 197.3 kB / 1.031 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/1.153, allocations: 92.92 kB / 1.032 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/1.153, allocations: 7.109 kB / 1.032 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/1.153, allocations: 63.88 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.153, allocations: 27.77 kB / 1.032 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/1.153, allocations: 7.5 kB / 1.032 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001426/1.154, allocations: 153.3 kB / 1.032 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.154, allocations: 4 kB / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003439/1.154, allocations: 83.53 kB / 1.032 GB, free: 8.133 MB / 0.6511 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.0001792/1.154, allocations: 107 kB / 1.032 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000565/1.155, allocations: 432.9 kB / 1.032 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.155, allocations: 4 kB / 1.032 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/1.155, allocations: 69.06 kB / 1.032 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/1.155, allocations: 39.84 kB / 1.032 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/1.156, allocations: 237 kB / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.156, allocations: 0.7331 MB / 1.033 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001772/1.156, allocations: 33.53 kB / 1.033 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/1.156, allocations: 26.98 kB / 1.033 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/1.156, allocations: 0 / 1.033 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of Templates: time 0.006987/1.163, allocations: 3.437 MB / 1.037 GB, free: 3.117 MB / 0.6511 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches