Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [: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.167/1.167, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.0009349/0.0009349, allocations: 185.2 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9952/0.9952, allocations: 205.2 MB / 0.5667 GB, free: 15.77 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.0008022/0.0008021, allocations: 95.03 kB / 0.671 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.112e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 106.3 MB / 0.8846 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.832/0.9632, allocations: 406.3 MB / 1.281 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.9635, allocations: 87.38 kB / 1.281 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.139/2.102, allocations: 0.5394 GB / 1.821 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.8e-05/2.103, allocations: 38.81 kB / 1.821 GB, free: 122.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002282/2.105, allocations: 1.623 MB / 1.822 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/2.105, allocations: 8.031 kB / 1.822 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/2.108, allocations: 0.6485 MB / 1.823 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/2.11, allocations: 1.601 MB / 1.825 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/2.11, allocations: 83.67 kB / 1.825 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/2.111, allocations: 59.91 kB / 1.825 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/2.112, allocations: 1.104 MB / 1.826 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/2.113, allocations: 1.068 MB / 1.827 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/2.113, allocations: 8 kB / 1.827 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/2.113, allocations: 0 / 1.827 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/2.114, allocations: 24 kB / 1.827 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006051/2.12, allocations: 5.464 MB / 1.832 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/2.121, allocations: 0.8464 MB / 1.833 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/2.121, allocations: 482.6 kB / 1.834 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/2.122, allocations: 1.074 MB / 1.835 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005958/2.122, allocations: 0.54 MB / 1.835 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 1.633e-06/2.122, allocations: 0 / 1.835 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.001644/2.124, allocations: 0.9909 MB / 1.836 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/2.124, allocations: 63.31 kB / 1.836 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/2.125, allocations: 1.006 MB / 1.837 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/2.125, allocations: 29.69 kB / 1.837 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/2.125, allocations: 454.5 kB / 1.838 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/2.125, allocations: 193.1 kB / 1.838 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/2.125, allocations: 4 kB / 1.838 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.528e-05/2.125, allocations: 330 kB / 1.838 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/2.126, allocations: 424.8 kB / 1.838 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/2.126, allocations: 0.6466 MB / 1.839 GB, free: 103 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/2.127, allocations: 456.9 kB / 1.84 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.127, allocations: 0 / 1.84 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001725/2.129, allocations: 1.122 MB / 1.841 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/2.129, allocations: 9.406 kB / 1.841 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/2.129, allocations: 7.984 kB / 1.841 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/2.129, allocations: 11.59 kB / 1.841 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/2.13, allocations: 277.5 kB / 1.841 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/2.13, allocations: 15.88 kB / 1.841 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/2.132, allocations: 191.9 kB / 1.841 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/2.132, allocations: 59.95 kB / 1.841 GB, free: 100.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * 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.0001389/2.132, allocations: 124.1 kB / 1.841 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/2.132, allocations: 126.4 kB / 1.841 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/2.134, allocations: 1.209 MB / 1.843 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/2.134, allocations: 8 kB / 1.843 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/2.134, allocations: 0 / 1.843 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/2.135, allocations: 1.03 MB / 1.844 GB, free: 98.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/2.139, allocations: 2.646 MB / 1.846 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.139, allocations: 4 kB / 1.846 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/2.14, allocations: 244.2 kB / 1.846 GB, free: 95.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/2.14, allocations: 4 kB / 1.846 GB, free: 95.42 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/2.14, allocations: 23.88 kB / 1.846 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/2.14, allocations: 4 kB / 1.846 GB, free: 95.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.14, allocations: 7.938 kB / 1.846 GB, free: 95.39 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002346/2.142, allocations: 2.014 MB / 1.848 GB, free: 93.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/2.143, allocations: 375.2 kB / 1.849 GB, free: 92.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/2.143, allocations: 4 kB / 1.849 GB, free: 92.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/2.144, allocations: 148.9 kB / 1.849 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/2.144, allocations: 46.78 kB / 1.849 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/2.144, allocations: 51.95 kB / 1.849 GB, free: 92.69 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007097/2.145, allocations: 0.7742 MB / 1.85 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00108/2.146, allocations: 0.4902 MB / 1.85 GB, free: 91.42 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008124/2.147, allocations: 0.6694 MB / 1.851 GB, free: 90.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001008/2.148, allocations: 0.9151 MB / 1.852 GB, free: 89.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/2.148, allocations: 0 / 1.852 GB, free: 89.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/2.149, allocations: 497.6 kB / 1.852 GB, free: 89.47 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/2.151, allocations: 0.526 MB / 1.853 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/2.154, allocations: 2.035 MB / 1.855 GB, free: 86.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009204/2.155, allocations: 1.394 MB / 1.856 GB, free: 85.48 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/2.155, allocations: 0 / 1.856 GB, free: 85.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.02995/2.185, allocations: 25.68 MB / 1.881 GB, free: 60.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches