Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.73/1.73, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009241/0.0009242, allocations: 181.2 kB / 490.8 MB, free: 1.938 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.075/1.075, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0007735/0.0007738, allocations: 87.42 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.68e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.174, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6874/0.8614, allocations: 460.4 MB / 1.661 GB, free: 3.672 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.8617, allocations: 95.81 kB / 1.661 GB, free: 3.621 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.36/4.221, allocations: 1.367 GB / 3.029 GB, free: 53.71 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005049/4.222, allocations: 99.84 kB / 3.029 GB, free: 53.61 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.007778/4.23, allocations: 3.487 MB / 3.032 GB, free: 50.07 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/4.23, allocations: 8.688 kB / 3.032 GB, free: 50.06 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/4.24, allocations: 1.63 MB / 3.034 GB, free: 48.42 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/4.249, allocations: 5.353 MB / 3.039 GB, free: 43.01 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/4.249, allocations: 242.6 kB / 3.039 GB, free: 42.75 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005407/4.25, allocations: 132 kB / 3.039 GB, free: 42.62 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005645/4.256, allocations: 4.684 MB / 3.044 GB, free: 37.93 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/4.26, allocations: 3.445 MB / 3.047 GB, free: 34.43 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/4.26, allocations: 11.98 kB / 3.047 GB, free: 34.41 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/4.26, allocations: 0 / 3.047 GB, free: 34.41 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/4.26, allocations: 59.98 kB / 3.047 GB, free: 34.36 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/4.278, allocations: 15.91 MB / 3.063 GB, free: 17.86 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/4.28, allocations: 2.564 MB / 3.065 GB, free: 15.27 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/4.282, allocations: 1.744 MB / 3.067 GB, free: 13.53 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/4.283, allocations: 1.26 MB / 3.068 GB, free: 11.99 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/4.285, allocations: 1.759 MB / 3.07 GB, free: 10.22 MB / 1.182 GB Notification: Performance of pre-optimization done (n=148): time 3.136e-06/4.285, allocations: 0 / 3.07 GB, free: 10.22 MB / 1.182 GB Notification: Performance of matching and sorting (n=148): time 0.004696/4.289, allocations: 3.423 MB / 3.073 GB, free: 6.777 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/4.289, allocations: 72.66 kB / 3.073 GB, free: 6.695 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/4.293, allocations: 3.362 MB / 3.077 GB, free: 3.344 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/4.293, allocations: 33.7 kB / 3.077 GB, free: 3.305 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/4.293, allocations: 0.9108 MB / 3.078 GB, free: 2.371 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/4.294, allocations: 0.4888 MB / 3.078 GB, free: 1.875 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/4.294, allocations: 0 / 3.078 GB, free: 1.875 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/4.294, allocations: 385.9 kB / 3.079 GB, free: 1.492 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/4.296, allocations: 1.589 MB / 3.08 GB, free: 15.89 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/4.298, allocations: 2.203 MB / 3.082 GB, free: 13.46 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/4.301, allocations: 1.714 MB / 3.084 GB, free: 11.76 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/4.301, allocations: 0 / 3.084 GB, free: 11.76 MB / 1.198 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.005915/4.307, allocations: 4.02 MB / 3.088 GB, free: 7.719 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/4.308, allocations: 4.007 MB / 3.092 GB, free: 3.367 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/4.308, allocations: 11.38 kB / 3.092 GB, free: 3.359 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/4.308, allocations: 177.5 kB / 3.092 GB, free: 3.18 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/4.311, allocations: 0.6787 MB / 3.093 GB, free: 2.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/4.313, allocations: 1.468 MB / 3.094 GB, free: 0.9805 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/4.316, allocations: 0.5329 MB / 3.095 GB, free: 456 kB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/4.317, allocations: 119.9 kB / 3.095 GB, free: 336 kB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/4.317, allocations: 4 kB / 3.095 GB, free: 332 kB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3212/4.638, allocations: 3.564 MB / 3.098 GB, free: 324.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/4.638, allocations: 17.14 kB / 3.098 GB, free: 324.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/4.638, allocations: 178.6 kB / 3.098 GB, free: 324.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/4.641, allocations: 0.6715 MB / 3.099 GB, free: 324.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/4.644, allocations: 3.478 MB / 3.102 GB, free: 321.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/4.648, allocations: 0.5178 MB / 3.103 GB, free: 321.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/4.648, allocations: 112.2 kB / 3.103 GB, free: 321.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 (chiPar.chi[1].tru.y,chiPar.chi[2].tru.y,$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 (208): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.000435/4.648, allocations: 148.1 kB / 3.103 GB, free: 321.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/4.649, allocations: 330.1 kB / 3.103 GB, free: 321.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/4.654, allocations: 3.899 MB / 3.107 GB, free: 321.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/4.654, allocations: 20.53 kB / 3.107 GB, free: 321.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/4.654, allocations: 0 / 3.107 GB, free: 321.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003703/4.658, allocations: 3.248 MB / 3.11 GB, free: 321.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009902/4.668, allocations: 7.88 MB / 3.118 GB, free: 320.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/4.668, allocations: 3.719 kB / 3.118 GB, free: 320.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/4.67, allocations: 0.5546 MB / 3.119 GB, free: 320.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/4.671, allocations: 131 kB / 3.119 GB, free: 320.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/4.671, allocations: 42.72 kB / 3.119 GB, free: 320.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006442/4.672, allocations: 1.341 MB / 3.12 GB, free: 319.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/4.672, allocations: 1.688 kB / 3.12 GB, free: 319.6 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006238/4.678, allocations: 6.183 MB / 3.126 GB, free: 318.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/4.679, allocations: 1.14 MB / 3.127 GB, free: 318.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/4.68, allocations: 7.469 kB / 3.127 GB, free: 318.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/4.683, allocations: 435.2 kB / 3.128 GB, free: 318.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/4.683, allocations: 109.3 kB / 3.128 GB, free: 318.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/4.683, allocations: 84.73 kB / 3.128 GB, free: 318.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.002626/4.686, allocations: 2.585 MB / 3.13 GB, free: 318.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004001/4.69, allocations: 1.807 MB / 3.132 GB, free: 318.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U) * 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 (156): * Single equations (assignments): 144 * 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.001313/4.691, allocations: 1.041 MB / 3.133 GB, free: 318 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.006325/4.698, allocations: 5.886 MB / 3.139 GB, free: 317.7 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/4.698, allocations: 3.688 kB / 3.139 GB, free: 317.7 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/4.699, allocations: 1.73 MB / 3.141 GB, free: 317.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/4.706, allocations: 1.737 MB / 3.142 GB, free: 317.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/4.718, allocations: 7.455 MB / 3.15 GB, free: 316.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/4.721, allocations: 3.261 MB / 3.153 GB, free: 315.7 MB / 1.198 GB Notification: Performance of SimCode: time 5.11e-07/4.721, allocations: 1.938 kB / 3.153 GB, free: 315.7 MB / 1.198 GB Notification: Performance of Templates: time 0.105/4.826, allocations: 93.48 MB / 3.244 GB, free: 313.1 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches