Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.827/1.827, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001091/0.001091, allocations: 176.5 kB / 487 MB, free: 5.387 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.181/1.181, allocations: 221.3 MB / 0.7819 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.000851, allocations: 104.6 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.322e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.048/3.253, allocations: 1.962 GB / 3.168 GB, free: 343 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/3.254, allocations: 107.9 kB / 3.168 GB, free: 342.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.855/9.109, allocations: 2.194 GB / 5.362 GB, free: 165.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002195/9.109, allocations: 55.48 kB / 5.362 GB, free: 165.1 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.00499/9.114, allocations: 2.514 MB / 5.364 GB, free: 164.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/9.114, allocations: 11.47 kB / 5.364 GB, free: 164.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/9.12, allocations: 0.9357 MB / 5.365 GB, free: 164.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005052/9.125, allocations: 2.392 MB / 5.367 GB, free: 163.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/9.125, allocations: 46 kB / 5.367 GB, free: 163.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/9.125, allocations: 94.53 kB / 5.367 GB, free: 163.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001873/9.127, allocations: 1.227 MB / 5.369 GB, free: 163.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/9.129, allocations: 1.436 MB / 5.37 GB, free: 163.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/9.129, allocations: 3.656 kB / 5.37 GB, free: 163.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/9.129, allocations: 0 / 5.37 GB, free: 163.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/9.129, allocations: 60.59 kB / 5.37 GB, free: 163.5 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/9.138, allocations: 8.242 MB / 5.378 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/9.138, allocations: 0.5949 MB / 5.379 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/9.139, allocations: 0.513 MB / 5.379 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/9.14, allocations: 0.9245 MB / 5.38 GB, free: 158.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/9.14, allocations: 0.5155 MB / 5.381 GB, free: 158.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=90): time 3.166e-06/9.14, allocations: 0 / 5.381 GB, free: 158.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=90): time 0.002866/9.143, allocations: 1.18 MB / 5.382 GB, free: 158 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/9.143, allocations: 118.4 kB / 5.382 GB, free: 157.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/9.145, allocations: 1.272 MB / 5.383 GB, free: 157.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/9.145, allocations: 25.7 kB / 5.383 GB, free: 157.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/9.145, allocations: 0.6206 MB / 5.384 GB, free: 157.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/9.145, allocations: 297.8 kB / 5.384 GB, free: 157.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/9.145, allocations: 0 / 5.384 GB, free: 157.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/9.145, allocations: 350 kB / 5.384 GB, free: 156.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/9.146, allocations: 364.5 kB / 5.385 GB, free: 156.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/9.147, allocations: 0.6997 MB / 5.385 GB, free: 156.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/9.148, allocations: 0.5653 MB / 5.386 GB, free: 156.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/9.148, allocations: 1.812 kB / 5.386 GB, free: 156.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001938/9.149, allocations: 1.302 MB / 5.387 GB, free: 156.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/9.15, allocations: 3.368 MB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/9.15, allocations: 7.031 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/9.15, allocations: 15.72 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/9.151, allocations: 276.8 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/9.151, allocations: 23.95 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/9.153, allocations: 205.9 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/9.153, allocations: 54.28 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/9.153, allocations: 6.562 kB / 5.391 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001707/9.155, allocations: 1.054 MB / 5.392 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/9.155, allocations: 10.22 kB / 5.392 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/9.155, allocations: 18.75 kB / 5.392 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/9.156, allocations: 283.6 kB / 5.392 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/9.156, allocations: 15.31 kB / 5.392 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/9.157, allocations: 194.9 kB / 5.393 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/9.157, allocations: 51.95 kB / 5.393 GB, free: 152.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (137): * Single equations (assignments): 135 * Array equations: 1 * Algorithm blocks: 1 * 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.0002098/9.158, allocations: 137.7 kB / 5.393 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/9.158, allocations: 181.8 kB / 5.393 GB, free: 152.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/9.16, allocations: 1.143 MB / 5.394 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/9.16, allocations: 8.906 kB / 5.394 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/9.16, allocations: 3.875 kB / 5.394 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001558/9.162, allocations: 1.199 MB / 5.395 GB, free: 152 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/9.166, allocations: 2.599 MB / 5.398 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/9.166, allocations: 3.594 kB / 5.398 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000984/9.167, allocations: 207.3 kB / 5.398 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/9.167, allocations: 43.39 kB / 5.398 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/9.167, allocations: 20.97 kB / 5.398 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/9.168, allocations: 1.375 MB / 5.399 GB, free: 150.5 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/9.168, allocations: 3.406 kB / 5.399 GB, free: 150.5 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002269/9.171, allocations: 1.726 MB / 5.401 GB, free: 150.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/9.171, allocations: 361.4 kB / 5.401 GB, free: 149.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/9.172, allocations: 3.75 kB / 5.401 GB, free: 149.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/9.173, allocations: 133.5 kB / 5.402 GB, free: 149.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/9.173, allocations: 63.53 kB / 5.402 GB, free: 149.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/9.173, allocations: 31.91 kB / 5.402 GB, free: 149.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001122/9.174, allocations: 0.9487 MB / 5.403 GB, free: 149.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003337/9.177, allocations: 1.205 MB / 5.404 GB, free: 149.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[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 (91): * Single equations (assignments): 88 * 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.004342/9.182, allocations: 4.01 MB / 5.408 GB, free: 148.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002176/9.184, allocations: 1.57 MB / 5.409 GB, free: 148.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/9.184, allocations: 2.344 kB / 5.409 GB, free: 148.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/9.185, allocations: 0.5357 MB / 5.41 GB, free: 148 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/9.188, allocations: 0.735 MB / 5.41 GB, free: 148 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/9.195, allocations: 3.124 MB / 5.414 GB, free: 147.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/9.196, allocations: 1.728 MB / 5.415 GB, free: 146.5 MB / 1.182 GB Notification: Performance of SimCode: time 4.11e-07/9.196, allocations: 3.125 kB / 5.415 GB, free: 146.5 MB / 1.182 GB Notification: Performance of Templates: time 0.07355/9.27, allocations: 53.9 MB / 5.468 GB, free: 145 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches