Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [: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 2.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001004/0.001004, allocations: 188.5 kB / 487 MB, free: 5.398 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.428/1.428, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.001106/0.001106, allocations: 91.19 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.945e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2793, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8/1.079, allocations: 159.2 MB / 1.361 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/1.08, allocations: 106.4 kB / 1.361 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.05254/1.132, allocations: 21.68 MB / 1.382 GB, free: 14.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.708e-05/1.132, allocations: 15.94 kB / 1.382 GB, free: 14.09 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001034/1.133, allocations: 0.7672 MB / 1.383 GB, free: 13.31 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.133, allocations: 12.03 kB / 1.383 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/1.134, allocations: 75.06 kB / 1.383 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/1.134, allocations: 441.6 kB / 1.383 GB, free: 12.83 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/1.134, allocations: 12 kB / 1.383 GB, free: 12.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/1.134, allocations: 28 kB / 1.383 GB, free: 12.79 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005634/1.135, allocations: 307.1 kB / 1.384 GB, free: 12.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/1.135, allocations: 329.8 kB / 1.384 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.135, allocations: 0 / 1.384 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/1.135, allocations: 0 / 1.384 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.135, allocations: 12 kB / 1.384 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/1.137, allocations: 1.448 MB / 1.385 GB, free: 11.22 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/1.138, allocations: 251.4 kB / 1.386 GB, free: 11.06 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/1.138, allocations: 270.6 kB / 1.386 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/1.138, allocations: 4 kB / 1.386 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.138, allocations: 37.25 kB / 1.386 GB, free: 10.84 MB / 0.823 GB Notification: Performance of pre-optimization done (n=42): time 1.754e-06/1.138, allocations: 4 kB / 1.386 GB, free: 10.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.0005694/1.139, allocations: 318.6 kB / 1.386 GB, free: 10.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/1.139, allocations: 55.41 kB / 1.386 GB, free: 10.54 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/1.139, allocations: 368.5 kB / 1.387 GB, free: 10.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.139, allocations: 25.7 kB / 1.387 GB, free: 10.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.139, allocations: 214.2 kB / 1.387 GB, free: 10.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.14, allocations: 140.6 kB / 1.387 GB, free: 9.914 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/1.14, allocations: 0 / 1.387 GB, free: 9.914 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.14, allocations: 362.9 kB / 1.387 GB, free: 9.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/1.14, allocations: 99.81 kB / 1.387 GB, free: 9.512 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/1.14, allocations: 95.75 kB / 1.387 GB, free: 9.461 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/1.14, allocations: 127.3 kB / 1.388 GB, free: 9.391 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.14, allocations: 3.938 kB / 1.388 GB, free: 9.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004445/1.141, allocations: 324.3 kB / 1.388 GB, free: 9.148 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.141, allocations: 4 kB / 1.388 GB, free: 9.145 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.141, allocations: 7.938 kB / 1.388 GB, free: 9.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.141, allocations: 3.938 kB / 1.388 GB, free: 9.133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/1.141, allocations: 135 kB / 1.388 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.141, allocations: 0 / 1.388 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/1.142, allocations: 43.67 kB / 1.388 GB, free: 8.961 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/1.142, allocations: 11.25 kB / 1.388 GB, free: 8.953 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.017e-05/1.142, allocations: 111.6 kB / 1.388 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/1.142, allocations: 43.44 kB / 1.388 GB, free: 8.797 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/1.142, allocations: 54.95 kB / 1.388 GB, free: 8.766 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.142, allocations: 8 kB / 1.388 GB, free: 8.758 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.142, allocations: 0 / 1.388 GB, free: 8.758 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/1.142, allocations: 0 / 1.388 GB, free: 8.758 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/1.143, allocations: 0.5042 MB / 1.389 GB, free: 8.344 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.143, allocations: 0 / 1.389 GB, free: 8.344 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.143, allocations: 126.3 kB / 1.389 GB, free: 8.223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/1.143, allocations: 3.984 kB / 1.389 GB, free: 8.219 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/1.143, allocations: 4 kB / 1.389 GB, free: 8.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.143, allocations: 4 kB / 1.389 GB, free: 8.211 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.143, allocations: 0 / 1.389 GB, free: 8.211 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006948/1.144, allocations: 0.5857 MB / 1.389 GB, free: 7.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.144, allocations: 131.3 kB / 1.39 GB, free: 7.629 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/1.144, allocations: 4 kB / 1.39 GB, free: 7.625 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.144, allocations: 19.89 kB / 1.39 GB, free: 7.605 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/1.144, allocations: 31.52 kB / 1.39 GB, free: 7.578 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/1.144, allocations: 6.938 kB / 1.39 GB, free: 7.574 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002914/1.145, allocations: 295.4 kB / 1.39 GB, free: 7.363 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004224/1.145, allocations: 135.5 kB / 1.39 GB, free: 7.23 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0003918/1.145, allocations: 267 kB / 1.39 GB, free: 6.977 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003955/1.146, allocations: 277.2 kB / 1.391 GB, free: 6.801 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.146, allocations: 0 / 1.391 GB, free: 6.801 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/1.146, allocations: 154.3 kB / 1.391 GB, free: 6.703 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/1.147, allocations: 78.67 kB / 1.391 GB, free: 6.645 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/1.148, allocations: 0.8878 MB / 1.392 GB, free: 5.816 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/1.149, allocations: 0.9235 MB / 1.393 GB, free: 4.875 MB / 0.823 GB Notification: Performance of SimCode: time 5.61e-07/1.149, allocations: 0 / 1.393 GB, free: 4.875 MB / 0.823 GB Notification: Performance of Templates: time 0.01064/1.159, allocations: 5.335 MB / 1.398 GB, free: 15.65 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches