Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.115/2.115, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001638/0.001638, allocations: 177.3 kB / 490.8 MB, free: 1.961 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.529/1.529, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.001343/0.001343, allocations: 100.5 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.394e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.864/1.178, allocations: 151.9 MB / 1.36 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.178, allocations: 85.7 kB / 1.36 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01205/1.19, allocations: 3.484 MB / 1.363 GB, free: 17.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.69e-05/1.19, allocations: 8.594 kB / 1.363 GB, free: 17.19 MB / 0.823 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.001235/1.191, allocations: 0.5958 MB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.191, allocations: 8.594 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.774e-05/1.192, allocations: 23.34 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/1.192, allocations: 264.3 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/1.192, allocations: 8.906 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/1.192, allocations: 9.656 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002559/1.192, allocations: 98.83 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/1.193, allocations: 168.7 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.193, allocations: 0 / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/1.193, allocations: 0 / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.193, allocations: 4.031 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/1.193, allocations: 0.5197 MB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/1.194, allocations: 148.5 kB / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/1.194, allocations: 61.34 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/1.194, allocations: 3.844 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/1.194, allocations: 111.7 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/1.194, allocations: 0 / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000333/1.195, allocations: 145.5 kB / 1.365 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/1.195, allocations: 119.8 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.195, allocations: 159.8 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/1.195, allocations: 32.97 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/1.195, allocations: 113.3 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/1.195, allocations: 39.72 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/1.195, allocations: 1.062 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.195, allocations: 331.3 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/1.195, allocations: 51.94 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/1.195, allocations: 83.23 kB / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/1.195, allocations: 47.61 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.195, allocations: 3.938 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002896/1.196, allocations: 160.9 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/1.196, allocations: 97.31 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.196, allocations: 1.5 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.196, allocations: 5.188 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/1.196, allocations: 76.28 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.196, allocations: 3 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/1.197, allocations: 78.94 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/1.197, allocations: 7.094 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/1.197, allocations: 5 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002198/1.197, allocations: 101.2 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-07/1.197, allocations: 5.219 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/1.197, allocations: 1.406 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/1.197, allocations: 64.97 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/1.197, allocations: 3.062 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/1.198, allocations: 61.44 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.198, allocations: 7.25 kB / 1.367 GB, free: 31.11 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.0001026/1.198, allocations: 106.7 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/1.198, allocations: 20.53 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/1.198, allocations: 21.2 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.198, allocations: 5.188 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.198, allocations: 0 / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.198, allocations: 0.9375 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.198, allocations: 253.8 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.198, allocations: 5.25 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/1.198, allocations: 80.03 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.198, allocations: 1.406 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/1.198, allocations: 5.406 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.199, allocations: 1.438 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.199, allocations: 0 / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000279/1.199, allocations: 170.2 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/1.199, allocations: 93.86 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/1.199, allocations: 1.375 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/1.199, allocations: 71.61 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.199, allocations: 28.84 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/1.199, allocations: 7.047 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001344/1.2, allocations: 144.3 kB / 1.368 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003641/1.2, allocations: 77.06 kB / 1.368 GB, free: 30.51 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.0001673/1.2, allocations: 111.1 kB / 1.368 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004797/1.201, allocations: 302.6 kB / 1.369 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.201, allocations: 0 / 1.369 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/1.201, allocations: 74.2 kB / 1.369 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/1.201, allocations: 35.12 kB / 1.369 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/1.202, allocations: 231.4 kB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/1.202, allocations: 0.7533 MB / 1.37 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.202, allocations: 4 kB / 1.37 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.008865/1.211, allocations: 4.023 MB / 1.373 GB, free: 29.27 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches