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.374/2.374, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001131/0.001131, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.8/1.8, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.00101/0.001011, allocations: 98.69 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.195e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3961, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.649, allocations: 151.8 MB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.649, allocations: 87.09 kB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/1.661, allocations: 3.738 MB / 1.364 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.204e-06/1.661, allocations: 0 / 1.364 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.031e-05/1.662, allocations: 3.844 kB / 1.364 GB, free: 34.43 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.001102/1.663, allocations: 0.5873 MB / 1.365 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.663, allocations: 7.75 kB / 1.365 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/1.663, allocations: 23.38 kB / 1.365 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/1.663, allocations: 255.9 kB / 1.365 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.663, allocations: 15.38 kB / 1.365 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/1.663, allocations: 14.25 kB / 1.365 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/1.664, allocations: 183.9 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.664, allocations: 3.938 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/1.664, allocations: 3.188 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.664, allocations: 3.844 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/1.664, allocations: 110.3 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008101/1.665, allocations: 0.5616 MB / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/1.665, allocations: 146.9 kB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/1.665, allocations: 58.39 kB / 1.366 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/1.665, allocations: 6.844 kB / 1.366 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/1.665, allocations: 137 kB / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/1.665, allocations: 4 kB / 1.366 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003365/1.666, allocations: 160 kB / 1.367 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.666, allocations: 109.4 kB / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/1.666, allocations: 187.5 kB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.666, allocations: 28.83 kB / 1.367 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/1.666, allocations: 128.5 kB / 1.367 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/1.666, allocations: 40.8 kB / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/1.666, allocations: 3.844 kB / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.666, allocations: 336.7 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/1.666, allocations: 57.59 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/1.667, allocations: 76.73 kB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/1.667, allocations: 102.9 kB / 1.368 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.667, allocations: 0 / 1.368 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003044/1.667, allocations: 242.4 kB / 1.368 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.667, allocations: 146 kB / 1.368 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.667, allocations: 7.875 kB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.667, allocations: 0 / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/1.667, allocations: 76.97 kB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/1.667, allocations: 4 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/1.668, allocations: 69.31 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/1.668, allocations: 7.812 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.668, allocations: 4.906 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002537/1.668, allocations: 211.6 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/1.668, allocations: 0 / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-06/1.668, allocations: 0 / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.668, allocations: 56 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/1.668, allocations: 4 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/1.669, allocations: 54.33 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/1.669, allocations: 10.42 kB / 1.368 GB, free: 32.08 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 0.0001046/1.669, allocations: 121.9 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/1.669, allocations: 19.44 kB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/1.669, allocations: 25.23 kB / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.669, allocations: 0 / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.669, allocations: 3.984 kB / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.669, allocations: 2.766 kB / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/1.669, allocations: 281.8 kB / 1.369 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.669, allocations: 0 / 1.369 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/1.669, allocations: 68.11 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.669, allocations: 3.844 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.669, allocations: 6.25 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.669, allocations: 3.938 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.669, allocations: 0 / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/1.67, allocations: 203.9 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/1.67, allocations: 99.92 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/1.67, allocations: 3.812 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.67, allocations: 61.92 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.67, allocations: 29.67 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.67, allocations: 6.797 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000129/1.67, allocations: 151.6 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.67, allocations: 0 / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003089/1.671, allocations: 80.78 kB / 1.37 GB, free: 31.45 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.0001757/1.671, allocations: 122.2 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000512/1.671, allocations: 431.2 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.671, allocations: 3.812 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/1.672, allocations: 66 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/1.672, allocations: 38.23 kB / 1.37 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/1.672, allocations: 235.7 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/1.673, allocations: 0.7315 MB / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001612/1.673, allocations: 33.7 kB / 1.371 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/1.673, allocations: 21.91 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.673, allocations: 0 / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.007225/1.68, allocations: 3.412 MB / 1.375 GB, free: 30.04 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