Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") [: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.803/1.803, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001071/0.001071, allocations: 185.2 kB / 487 MB, free: 5.324 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.151/1.151, allocations: 221.3 MB / 0.7819 GB, free: 1.309 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.0008597/0.0008597, allocations: 100.3 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.619e-06/4.639e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1863, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7253/0.9116, allocations: 458.4 MB / 1.653 GB, free: 13.56 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.9118, allocations: 93.5 kB / 1.653 GB, free: 13.51 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.403/4.314, allocations: 1.373 GB / 3.026 GB, free: 5.488 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004427/4.315, allocations: 103.9 kB / 3.026 GB, free: 5.387 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.009195/4.324, allocations: 3.609 MB / 3.03 GB, free: 1.715 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/4.324, allocations: 12.53 kB / 3.03 GB, free: 1.703 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3869/4.711, allocations: 1.932 MB / 3.032 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/4.723, allocations: 5.507 MB / 3.037 GB, free: 304.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/4.724, allocations: 241.5 kB / 3.037 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/4.724, allocations: 143 kB / 3.037 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005254/4.729, allocations: 4.317 MB / 3.042 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004223/4.733, allocations: 3.601 MB / 3.045 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/4.733, allocations: 7.219 kB / 3.045 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/4.734, allocations: 3.688 kB / 3.045 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/4.734, allocations: 58.23 kB / 3.045 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/4.754, allocations: 16.56 MB / 3.061 GB, free: 298.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/4.757, allocations: 2.808 MB / 3.064 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/4.759, allocations: 1.876 MB / 3.066 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/4.76, allocations: 1.265 MB / 3.067 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/4.762, allocations: 1.937 MB / 3.069 GB, free: 297.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 3.717e-06/4.762, allocations: 3.406 kB / 3.069 GB, free: 297.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.005651/4.767, allocations: 3.718 MB / 3.073 GB, free: 297 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/4.768, allocations: 227.4 kB / 3.073 GB, free: 296.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/4.772, allocations: 3.482 MB / 3.076 GB, free: 296.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00031/4.772, allocations: 28.83 kB / 3.076 GB, free: 296.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008715/4.773, allocations: 0.9285 MB / 3.077 GB, free: 296.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006149/4.774, allocations: 0.5139 MB / 3.078 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/4.774, allocations: 2.156 kB / 3.078 GB, free: 295.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/4.774, allocations: 381.2 kB / 3.078 GB, free: 295.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/4.776, allocations: 1.78 MB / 3.08 GB, free: 295.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/4.778, allocations: 2.429 MB / 3.082 GB, free: 294.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/4.78, allocations: 1.898 MB / 3.084 GB, free: 294.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/4.78, allocations: 3.781 kB / 3.084 GB, free: 294.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006324/4.787, allocations: 4.424 MB / 3.088 GB, free: 294.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005668/4.787, allocations: 3.841 MB / 3.092 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/4.787, allocations: 14.67 kB / 3.092 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/4.788, allocations: 172.2 kB / 3.092 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/4.791, allocations: 0.7542 MB / 3.093 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/4.792, allocations: 1.47 MB / 3.094 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/4.797, allocations: 0.5563 MB / 3.095 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/4.798, allocations: 137.4 kB / 3.095 GB, free: 289.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/4.798, allocations: 3.812 kB / 3.095 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005375/4.803, allocations: 3.98 MB / 3.099 GB, free: 289.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/4.803, allocations: 11.62 kB / 3.099 GB, free: 289.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/4.803, allocations: 178.4 kB / 3.099 GB, free: 289.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/4.807, allocations: 0.7516 MB / 3.1 GB, free: 289.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/4.81, allocations: 3.478 MB / 3.103 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/4.815, allocations: 0.53 MB / 3.104 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/4.815, allocations: 132.6 kB / 3.104 GB, free: 286.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chiPar.on[1],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006251/4.816, allocations: 153.4 kB / 3.104 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/4.817, allocations: 339.6 kB / 3.104 GB, free: 286.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006374/4.823, allocations: 4.159 MB / 3.108 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/4.823, allocations: 18.47 kB / 3.109 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/4.823, allocations: 4.969 kB / 3.109 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004094/4.827, allocations: 3.42 MB / 3.112 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/4.84, allocations: 8.33 MB / 3.12 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/4.84, allocations: 3.938 kB / 3.12 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/4.843, allocations: 0.5745 MB / 3.121 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/4.844, allocations: 131 kB / 3.121 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/4.844, allocations: 43.83 kB / 3.121 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007213/4.844, allocations: 1.338 MB / 3.122 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/4.844, allocations: 7.375 kB / 3.122 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007319/4.852, allocations: 6.504 MB / 3.128 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/4.854, allocations: 1.166 MB / 3.13 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/4.855, allocations: 15.02 kB / 3.13 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/4.858, allocations: 442.2 kB / 3.13 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/4.858, allocations: 104.4 kB / 3.13 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/4.859, allocations: 92.08 kB / 3.13 GB, free: 283.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.003253/4.862, allocations: 2.67 MB / 3.133 GB, free: 283 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004966/4.867, allocations: 1.893 MB / 3.135 GB, free: 282.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U,chiPar.filter[1].x[1],chiPar.filter[1].x[2],chiPar.filter[2].x[1],chiPar.filter[2].x[2]) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[1],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00176/4.869, allocations: 1.105 MB / 3.136 GB, free: 282.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007939/4.876, allocations: 6.534 MB / 3.142 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/4.876, allocations: 3.094 kB / 3.142 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/4.879, allocations: 1.832 MB / 3.144 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/4.887, allocations: 1.774 MB / 3.146 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/4.898, allocations: 7.19 MB / 3.153 GB, free: 281.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0034/4.902, allocations: 3.372 MB / 3.156 GB, free: 280.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/4.902, allocations: 0 / 3.156 GB, free: 280.3 MB / 1.167 GB Notification: Performance of Templates: time 0.1371/5.039, allocations: 99.63 MB / 3.253 GB, free: 277.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches