Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 7.105 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.001006/0.001006, allocations: 177.3 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.000877/0.0008771, allocations: 81.64 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.296e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6227, allocations: 134.4 MB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.6229, allocations: 81.06 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02059/0.6435, allocations: 7.205 MB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.6436, allocations: 11.98 kB / 1.023 GB, free: 14.27 MB / 0.6511 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.0008121/0.6444, allocations: 0.562 MB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6444, allocations: 8.031 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.6447, allocations: 35.62 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.6451, allocations: 298.3 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6452, allocations: 4 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.6452, allocations: 12 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002034/0.6454, allocations: 97.55 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.6457, allocations: 154.5 kB / 1.024 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6457, allocations: 3.938 kB / 1.024 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.6457, allocations: 4 kB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.6457, allocations: 11.88 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.6467, allocations: 0.9162 MB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.6472, allocations: 182 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.6473, allocations: 52.44 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.6473, allocations: 4 kB / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.6474, allocations: 30.56 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.6474, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004198/0.6478, allocations: 153.7 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.6478, allocations: 81.11 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.648, allocations: 218.5 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.648, allocations: 25.7 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.6481, allocations: 132.7 kB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.6482, allocations: 54.08 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.6482, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6483, allocations: 333.2 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.6484, allocations: 45.42 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.6485, allocations: 91.41 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6487, allocations: 53.16 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6487, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003657/0.649, allocations: 179.8 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6491, allocations: 8 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6491, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6491, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.6494, allocations: 83.28 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6494, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.6497, allocations: 47.81 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.6497, allocations: 12 kB / 1.027 GB, free: 10.54 MB / 0.6511 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 6.869e-05/0.6498, allocations: 108.4 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6499, allocations: 35.7 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.6502, allocations: 177.9 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6503, allocations: 4 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6503, allocations: 4 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6503, allocations: 3.984 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.6506, allocations: 263.4 kB / 1.027 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6506, allocations: 0 / 1.027 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.6509, allocations: 71.83 kB / 1.027 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.6509, allocations: 7.844 kB / 1.027 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6509, allocations: 0 / 1.027 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.6509, allocations: 11.92 kB / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6509, allocations: 0 / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003791/0.6513, allocations: 350.6 kB / 1.028 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.6514, allocations: 96.83 kB / 1.028 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.6514, allocations: 0 / 1.028 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.6517, allocations: 43.86 kB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.6518, allocations: 23.2 kB / 1.028 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.6518, allocations: 4 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001222/0.6519, allocations: 173.6 kB / 1.028 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003191/0.6522, allocations: 56.19 kB / 1.028 GB, free: 9.188 MB / 0.6511 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.0001741/0.6524, allocations: 119.1 kB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.6527, allocations: 121.8 kB / 1.028 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.6527, allocations: 0 / 1.028 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.6528, allocations: 68.92 kB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.6532, allocations: 63.48 kB / 1.028 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.6538, allocations: 302.1 kB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.6541, allocations: 0.7818 MB / 1.029 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.6542, allocations: 4 kB / 1.029 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of Templates: time 0.006364/0.6605, allocations: 3.445 MB / 1.033 GB, free: 4.406 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches