Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|eleHea.Q_flow|eleHea.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|eleHea.Q_flow|eleHea.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") [: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 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.4 MB / 256.7 MB, free: 6.961 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.00123/0.00123, allocations: 181.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.000944/0.0009438, allocations: 86.72 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.325e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2454, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.282/5.528, allocations: 2.249 GB / 3.134 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/5.528, allocations: 101.7 kB / 3.134 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.528/13.06, allocations: 2.105 GB / 5.238 GB, free: 91.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002945/13.06, allocations: 61.92 kB / 5.238 GB, free: 91.29 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 358 * Number of variables: 358 Notification: Performance of Generate backend data structure: time 0.007665/13.06, allocations: 2.552 MB / 5.241 GB, free: 89.73 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/13.06, allocations: 8.609 kB / 5.241 GB, free: 89.73 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/13.07, allocations: 0.8382 MB / 5.242 GB, free: 89.57 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008089/13.08, allocations: 2.391 MB / 5.244 GB, free: 88.43 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/13.08, allocations: 46.55 kB / 5.244 GB, free: 88.43 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/13.08, allocations: 90.34 kB / 5.244 GB, free: 88.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002782/13.08, allocations: 1.227 MB / 5.245 GB, free: 87.95 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/13.08, allocations: 1.472 MB / 5.247 GB, free: 87.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/13.08, allocations: 1.344 kB / 5.247 GB, free: 87.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/13.08, allocations: 1.25 kB / 5.247 GB, free: 87.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/13.08, allocations: 50.61 kB / 5.247 GB, free: 87.26 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/13.1, allocations: 7.983 MB / 5.255 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/13.1, allocations: 0.8005 MB / 5.255 GB, free: 81.25 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007519/13.1, allocations: 0.4904 MB / 5.256 GB, free: 81.05 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/13.1, allocations: 0.9212 MB / 5.257 GB, free: 80.11 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009072/13.1, allocations: 0.5023 MB / 5.257 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=88): time 3.857e-06/13.1, allocations: 4.875 kB / 5.257 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88): time 0.003916/13.11, allocations: 1.153 MB / 5.258 GB, free: 79.49 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/13.11, allocations: 166 kB / 5.259 GB, free: 79.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/13.11, allocations: 1.297 MB / 5.26 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/13.11, allocations: 28.42 kB / 5.26 GB, free: 78.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/13.11, allocations: 0.6397 MB / 5.26 GB, free: 78.26 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/13.11, allocations: 292.7 kB / 5.261 GB, free: 78.03 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/13.11, allocations: 0.9688 kB / 5.261 GB, free: 78.03 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/13.11, allocations: 354.7 kB / 5.261 GB, free: 77.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/13.11, allocations: 361.5 kB / 5.261 GB, free: 77.56 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/13.11, allocations: 0.7431 MB / 5.262 GB, free: 76.93 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/13.11, allocations: 0.5824 MB / 5.263 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/13.11, allocations: 2.219 kB / 5.263 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002983/13.12, allocations: 1.312 MB / 5.264 GB, free: 76.26 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005945/13.12, allocations: 3.457 MB / 5.267 GB, free: 72.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/13.12, allocations: 14.78 kB / 5.267 GB, free: 72.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/13.12, allocations: 15 kB / 5.267 GB, free: 72.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/13.12, allocations: 266.5 kB / 5.268 GB, free: 72.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/13.12, allocations: 19.77 kB / 5.268 GB, free: 72.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/13.12, allocations: 191.7 kB / 5.268 GB, free: 72.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/13.12, allocations: 55.23 kB / 5.268 GB, free: 72.51 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/13.12, allocations: 3.094 kB / 5.268 GB, free: 72.51 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002513/13.12, allocations: 1.069 MB / 5.269 GB, free: 72.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/13.12, allocations: 11.06 kB / 5.269 GB, free: 72.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/13.12, allocations: 19 kB / 5.269 GB, free: 72.17 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/13.12, allocations: 265.4 kB / 5.269 GB, free: 72.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/13.12, allocations: 22.97 kB / 5.269 GB, free: 72.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/13.13, allocations: 173.7 kB / 5.269 GB, free: 72.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/13.13, allocations: 56.2 kB / 5.27 GB, free: 72.09 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,eleHea.on,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003921/13.13, allocations: 137.2 kB / 5.27 GB, free: 71.96 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/13.13, allocations: 186.7 kB / 5.27 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/13.13, allocations: 1.122 MB / 5.271 GB, free: 71.42 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/13.13, allocations: 9.688 kB / 5.271 GB, free: 71.42 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/13.13, allocations: 0 / 5.271 GB, free: 71.42 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/13.13, allocations: 1.173 MB / 5.272 GB, free: 70.61 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006021/13.14, allocations: 2.53 MB / 5.275 GB, free: 68.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/13.14, allocations: 1.312 kB / 5.275 GB, free: 68.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/13.14, allocations: 186.2 kB / 5.275 GB, free: 68.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/13.14, allocations: 48.2 kB / 5.275 GB, free: 68.92 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/13.14, allocations: 11.36 kB / 5.275 GB, free: 68.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/13.14, allocations: 1.379 MB / 5.276 GB, free: 67.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/13.14, allocations: 8.406 kB / 5.276 GB, free: 67.55 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003622/13.15, allocations: 1.727 MB / 5.278 GB, free: 66.54 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/13.15, allocations: 370.6 kB / 5.278 GB, free: 66.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/13.15, allocations: 3.969 kB / 5.278 GB, free: 66.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/13.15, allocations: 121.5 kB / 5.278 GB, free: 66.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/13.15, allocations: 56.97 kB / 5.278 GB, free: 66.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/13.15, allocations: 40.31 kB / 5.278 GB, free: 66.16 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001754/13.15, allocations: 0.9634 MB / 5.279 GB, free: 65.63 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005333/13.16, allocations: 1.25 MB / 5.281 GB, free: 65.24 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,eleHea.on) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007115/13.16, allocations: 4.069 MB / 5.285 GB, free: 63.39 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003145/13.17, allocations: 1.633 MB / 5.286 GB, free: 61.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/13.17, allocations: 0 / 5.286 GB, free: 61.84 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008379/13.17, allocations: 0.5349 MB / 5.287 GB, free: 61.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/13.17, allocations: 0.7384 MB / 5.287 GB, free: 60.61 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/13.18, allocations: 3.137 MB / 5.29 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/13.18, allocations: 1.736 MB / 5.292 GB, free: 55.73 MB / 0.9323 GB Notification: Performance of SimCode: time 1.954e-06/13.18, allocations: 0 / 5.292 GB, free: 55.73 MB / 0.9323 GB Notification: Performance of Templates: time 0.08584/13.27, allocations: 54.71 MB / 5.346 GB, free: 1.973 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches