Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [: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.998/1.998, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001174/0.001174, allocations: 172.7 kB / 487 MB, free: 5.395 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.328/1.328, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.001114/0.001114, allocations: 96.56 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.622e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3077, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.341, allocations: 451.8 MB / 1.646 GB, free: 4.098 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.341, allocations: 93.16 kB / 1.646 GB, free: 4.051 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.627/4.968, allocations: 1.114 GB / 2.761 GB, free: 190.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000182/4.968, allocations: 52.61 kB / 2.761 GB, free: 190.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.004055/4.972, allocations: 2.222 MB / 2.763 GB, free: 189.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/4.972, allocations: 11.28 kB / 2.763 GB, free: 189.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/4.978, allocations: 1.225 MB / 2.764 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/4.985, allocations: 2.703 MB / 2.767 GB, free: 189.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/4.985, allocations: 170.4 kB / 2.767 GB, free: 189.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/4.985, allocations: 78.5 kB / 2.767 GB, free: 189.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00226/4.988, allocations: 1.46 MB / 2.768 GB, free: 189.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/4.99, allocations: 1.491 MB / 2.77 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/4.99, allocations: 3.75 kB / 2.77 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/4.99, allocations: 7.656 kB / 2.77 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/4.99, allocations: 47.03 kB / 2.77 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/5.003, allocations: 8.177 MB / 2.778 GB, free: 185.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/5.004, allocations: 1.231 MB / 2.779 GB, free: 185.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/5.005, allocations: 0.5262 MB / 2.78 GB, free: 185.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004727/5.01, allocations: 3.523 MB / 2.783 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/5.01, allocations: 41.56 kB / 2.783 GB, free: 183.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 2.215e-06/5.01, allocations: 0 / 2.783 GB, free: 183.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002866/5.013, allocations: 1.401 MB / 2.784 GB, free: 183.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/5.013, allocations: 58.91 kB / 2.784 GB, free: 183.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/5.014, allocations: 1.46 MB / 2.786 GB, free: 183.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-05/5.015, allocations: 25.7 kB / 2.786 GB, free: 183.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/5.015, allocations: 0.6273 MB / 2.787 GB, free: 183.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/5.015, allocations: 206.4 kB / 2.787 GB, free: 182.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/5.015, allocations: 0 / 2.787 GB, free: 182.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/5.015, allocations: 337.8 kB / 2.787 GB, free: 182.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/5.016, allocations: 0.5061 MB / 2.788 GB, free: 182.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/5.017, allocations: 0.8725 MB / 2.788 GB, free: 182.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/5.018, allocations: 0.6511 MB / 2.789 GB, free: 182.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/5.018, allocations: 7.656 kB / 2.789 GB, free: 182.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003345/5.022, allocations: 1.708 MB / 2.791 GB, free: 182 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006727/5.022, allocations: 3.736 MB / 2.794 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/5.022, allocations: 7.125 kB / 2.794 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/5.024, allocations: 0.6674 MB / 2.795 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/5.025, allocations: 305.5 kB / 2.795 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/5.027, allocations: 1.339 MB / 2.797 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/5.03, allocations: 278.9 kB / 2.797 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/5.03, allocations: 78.72 kB / 2.797 GB, free: 177.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/5.03, allocations: 3.625 kB / 2.797 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004485/5.034, allocations: 1.591 MB / 2.799 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/5.034, allocations: 11.06 kB / 2.799 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/5.035, allocations: 0.6619 MB / 2.799 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/5.037, allocations: 307.6 kB / 2.799 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/5.039, allocations: 1.334 MB / 2.801 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/5.042, allocations: 236.2 kB / 2.801 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/5.042, allocations: 83.03 kB / 2.801 GB, free: 177 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.000523/5.043, allocations: 141.9 kB / 2.801 GB, free: 176.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/5.043, allocations: 181.4 kB / 2.801 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/5.047, allocations: 1.699 MB / 2.803 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/5.047, allocations: 7.906 kB / 2.803 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/5.047, allocations: 0 / 2.803 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/5.047, allocations: 3.891 kB / 2.803 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/5.054, allocations: 3.374 MB / 2.806 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/5.054, allocations: 3.984 kB / 2.806 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/5.055, allocations: 203.9 kB / 2.807 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/5.056, allocations: 0.6399 MB / 2.807 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/5.056, allocations: 22.7 kB / 2.807 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/5.058, allocations: 1.307 MB / 2.808 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/5.058, allocations: 3.906 kB / 2.808 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003749/5.062, allocations: 1.71 MB / 2.81 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/5.063, allocations: 454.6 kB / 2.811 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/5.063, allocations: 8.531 kB / 2.811 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/5.065, allocations: 183 kB / 2.811 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/5.065, allocations: 47.19 kB / 2.811 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/5.065, allocations: 55.94 kB / 2.811 GB, free: 173.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00163/5.067, allocations: 1.117 MB / 2.812 GB, free: 173.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00325/5.07, allocations: 1.066 MB / 2.813 GB, free: 172.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/5.072, allocations: 1.219 MB / 2.814 GB, free: 172.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004473/5.076, allocations: 2.089 MB / 2.816 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/5.076, allocations: 1.281 kB / 2.816 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/5.078, allocations: 0.6733 MB / 2.817 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/5.081, allocations: 0.667 MB / 2.818 GB, free: 171.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/5.088, allocations: 2.65 MB / 2.82 GB, free: 170.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/5.09, allocations: 1.683 MB / 2.822 GB, free: 169.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/5.09, allocations: 1.219 kB / 2.822 GB, free: 169.7 MB / 1.151 GB Notification: Performance of Templates: time 0.08987/5.18, allocations: 47.54 MB / 2.868 GB, free: 152.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches