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.493/1.493, allocations: 249.5 MB / 257 MB, free: 6.887 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.001161/0.001162, allocations: 183.6 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001131/0.001131, allocations: 90.47 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.665e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9885/1.286, allocations: 134.5 MB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/1.286, allocations: 85.06 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/1.298, allocations: 3.681 MB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/1.298, allocations: 0 / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.156e-05/1.298, allocations: 4 kB / 1.02 GB, free: 108 kB / 0.6355 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.001183/1.299, allocations: 0.5878 MB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/1.299, allocations: 8.031 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/1.299, allocations: 19.81 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/1.3, allocations: 267.4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.3, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/1.3, allocations: 11.98 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002457/1.3, allocations: 105.7 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/1.301, allocations: 166.6 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.301, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/1.301, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.301, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009235/1.302, allocations: 0.5123 MB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/1.302, allocations: 152.6 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/1.302, allocations: 60.77 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/1.302, allocations: 3.984 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/1.302, allocations: 122.3 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.302, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003829/1.303, allocations: 154.9 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/1.303, allocations: 106.8 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/1.303, allocations: 172.2 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/1.303, allocations: 36.89 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.303, allocations: 128.8 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/1.303, allocations: 52.73 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/1.303, allocations: 0 / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.304, allocations: 332.9 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/1.304, allocations: 50.62 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.304, allocations: 85.11 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/1.304, allocations: 48 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.304, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003169/1.304, allocations: 170 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.304, allocations: 160.1 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.304, allocations: 0 / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.304, allocations: 0 / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/1.305, allocations: 71.86 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.305, allocations: 4.703 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/1.305, allocations: 63.88 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/1.305, allocations: 11.62 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/1.305, allocations: 4 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002504/1.305, allocations: 135.3 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-06/1.305, allocations: 0 / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/1.305, allocations: 4 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/1.306, allocations: 59.89 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/1.306, allocations: 0 / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.306, allocations: 55.84 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/1.306, allocations: 11.62 kB / 1.024 GB, free: 12.51 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.000137/1.306, allocations: 112.9 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/1.306, allocations: 15.81 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/1.306, allocations: 24.83 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.306, allocations: 4 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.306, allocations: 0 / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.306, allocations: 0 / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/1.307, allocations: 249.7 kB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.307, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/1.307, allocations: 75.86 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.307, allocations: 3.953 kB / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/1.307, allocations: 4 kB / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.307, allocations: 3.984 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.307, allocations: 4 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/1.307, allocations: 176.4 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/1.307, allocations: 92.92 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/1.307, allocations: 11.38 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/1.308, allocations: 59.94 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.308, allocations: 35.02 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/1.308, allocations: 4 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001215/1.308, allocations: 138.5 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.41e-07/1.308, allocations: 0 / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000337/1.308, allocations: 76 kB / 1.025 GB, free: 11.47 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.0002457/1.309, allocations: 115.1 kB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006268/1.309, allocations: 422.2 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.309, allocations: 0 / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.309, allocations: 70.11 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/1.31, allocations: 33.38 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/1.31, allocations: 223.8 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/1.311, allocations: 0.7367 MB / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001699/1.311, allocations: 29.84 kB / 1.027 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/1.311, allocations: 19.44 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.311, allocations: 4 kB / 1.027 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of Templates: time 0.007683/1.319, allocations: 3.13 MB / 1.03 GB, free: 6.801 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