Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [: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 2.023/2.023, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.00107/0.00107, allocations: 185.3 kB / 490.8 MB, free: 1.965 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.385/1.385, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009415/0.0009415, allocations: 95.53 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.003e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7915/1.083, allocations: 151.7 MB / 1.36 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.084, allocations: 86.94 kB / 1.36 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02277/1.106, allocations: 7.333 MB / 1.367 GB, free: 16.63 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.095e-05/1.106, allocations: 9.156 kB / 1.367 GB, free: 16.62 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001084/1.108, allocations: 0.5548 MB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.108, allocations: 9.594 kB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/1.108, allocations: 35.42 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/1.108, allocations: 298.9 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.108, allocations: 5.125 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/1.108, allocations: 8.188 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002306/1.109, allocations: 96.33 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/1.109, allocations: 160.8 kB / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.109, allocations: 0 / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.109, allocations: 1.031 kB / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.109, allocations: 7.594 kB / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/1.11, allocations: 0.9237 MB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/1.111, allocations: 183 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/1.111, allocations: 55.86 kB / 1.369 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/1.111, allocations: 6.094 kB / 1.369 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.111, allocations: 36.38 kB / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.111, allocations: 0 / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004577/1.111, allocations: 152.2 kB / 1.369 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.111, allocations: 79.17 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/1.112, allocations: 220.2 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/1.112, allocations: 26.55 kB / 1.37 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/1.112, allocations: 133.6 kB / 1.37 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/1.112, allocations: 52.14 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/1.112, allocations: 0 / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.112, allocations: 335.2 kB / 1.37 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/1.112, allocations: 39.33 kB / 1.37 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/1.112, allocations: 93.31 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.112, allocations: 47.92 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.112, allocations: 5.094 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003856/1.113, allocations: 181.7 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.113, allocations: 4.969 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.113, allocations: 1.469 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.113, allocations: 7.938 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/1.113, allocations: 76.34 kB / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/1.113, allocations: 3.562 kB / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/1.113, allocations: 49.59 kB / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.113, allocations: 15.2 kB / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.099e-05/1.114, allocations: 107.1 kB / 1.371 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.114, allocations: 24.38 kB / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/1.114, allocations: 188.9 kB / 1.371 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.114, allocations: 6.312 kB / 1.371 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.114, allocations: 0 / 1.371 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.114, allocations: 2.297 kB / 1.371 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/1.114, allocations: 260.6 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.114, allocations: 0 / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/1.115, allocations: 67.48 kB / 1.371 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.115, allocations: 5.438 kB / 1.371 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.115, allocations: 6.484 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.115, allocations: 4.938 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.115, allocations: 1.406 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004513/1.115, allocations: 345.9 kB / 1.372 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/1.115, allocations: 104.5 kB / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/1.115, allocations: 10.41 kB / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/1.116, allocations: 39.39 kB / 1.372 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/1.116, allocations: 17.06 kB / 1.372 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/1.116, allocations: 5.531 kB / 1.372 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001709/1.116, allocations: 170 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003961/1.116, allocations: 55.42 kB / 1.372 GB, free: 29.35 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002428/1.117, allocations: 119.1 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000278/1.117, allocations: 126.9 kB / 1.372 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.117, allocations: 0 / 1.372 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/1.117, allocations: 67.36 kB / 1.372 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/1.118, allocations: 60.42 kB / 1.372 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/1.118, allocations: 303.8 kB / 1.373 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/1.119, allocations: 0.7876 MB / 1.374 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.119, allocations: 0 / 1.374 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.009495/1.128, allocations: 3.429 MB / 1.377 GB, free: 28.18 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches