Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009372/0.0009372, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8985/0.8985, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.266/2.266, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.977e-06/1.014e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001885/0.001895, allocations: 1.487 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004211/0.006107, allocations: 4.026 MB / 0.8441 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.00614, allocations: 3.938 kB / 0.8441 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.621e-05/0.006226, allocations: 11.86 kB / 0.8441 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.00638, allocations: 31.78 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.008566, allocations: 1.64 MB / 0.8457 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.134e-05/0.008657, allocations: 91.67 kB / 0.8458 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.809e-05/0.008685, allocations: 7.984 kB / 0.8458 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.008747, allocations: 51.88 kB / 0.8458 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.008831, allocations: 57.19 kB / 0.8459 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.008843, allocations: 4 kB / 0.8459 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.01086, allocations: 2.408 MB / 0.8483 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.011, allocations: 255.2 kB / 0.8485 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.01108, allocations: 115.4 kB / 0.8486 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.01276, allocations: 2.341 MB / 0.8509 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.01276, allocations: 4 kB / 0.8509 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.01276, allocations: 0 / 0.8509 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.01277, allocations: 0 / 0.8509 GB, free: 1.559 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001049/0.01382, allocations: 1.216 MB / 0.8521 GB, free: 320 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.01384, allocations: 8.625 kB / 0.8521 GB, free: 312 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.01405, allocations: 24.91 kB / 0.8521 GB, free: 288 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.0143, allocations: 290.6 kB / 0.8524 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.01431, allocations: 8.375 kB / 0.8524 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.01434, allocations: 4.375 kB / 0.8524 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.01452, allocations: 232.5 kB / 0.8526 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.01452, allocations: 4.188 kB / 0.8526 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.01453, allocations: 384 / 0.8526 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.01454, allocations: 7.938 kB / 0.8526 GB, free: 15.69 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.01484, allocations: 199.8 kB / 0.8528 GB, free: 15.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.01503, allocations: 256.5 kB / 0.8531 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.0152, allocations: 277.2 kB / 0.8533 GB, free: 14.94 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.01529, allocations: 169.6 kB / 0.8535 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.01555, allocations: 127.9 kB / 0.8536 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.01575, allocations: 217 kB / 0.8538 GB, free: 14.41 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.01575, allocations: 0 / 0.8538 GB, free: 14.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003483/0.0161, allocations: 489.3 kB / 0.8543 GB, free: 13.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.01614, allocations: 89.03 kB / 0.8544 GB, free: 13.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.01661, allocations: 0.9974 MB / 0.8554 GB, free: 12.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.01674, allocations: 37.64 kB / 0.8554 GB, free: 12.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01684, allocations: 265.7 kB / 0.8556 GB, free: 12.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.01687, allocations: 15.84 kB / 0.8557 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.01707, allocations: 335.2 kB / 0.856 GB, free: 12.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.01713, allocations: 318 kB / 0.8563 GB, free: 11.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.01744, allocations: 0.5097 MB / 0.8568 GB, free: 11.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.01777, allocations: 0.6031 MB / 0.8574 GB, free: 10.71 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.01938, allocations: 2.232 MB / 0.8595 GB, free: 8.391 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01939, allocations: 4 kB / 0.8596 GB, free: 8.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002327/0.02171, allocations: 3.721 MB / 0.8632 GB, free: 4.637 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.02173, allocations: 4 kB / 0.8632 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.02174, allocations: 4 kB / 0.8632 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.02174, allocations: 0 / 0.8632 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.02182, allocations: 23.92 kB / 0.8632 GB, free: 4.605 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.02183, allocations: 4 kB / 0.8632 GB, free: 4.602 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.02205, allocations: 241.3 kB / 0.8634 GB, free: 4.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.02208, allocations: 24.02 kB / 0.8635 GB, free: 4.34 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.02219, allocations: 124.6 kB / 0.8636 GB, free: 4.207 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.02221, allocations: 4 kB / 0.8636 GB, free: 4.203 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.02248, allocations: 370.9 kB / 0.8639 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.02248, allocations: 0 / 0.8639 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02249, allocations: 3.984 kB / 0.864 GB, free: 3.824 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.02249, allocations: 7.938 kB / 0.864 GB, free: 3.816 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.02268, allocations: 290.7 kB / 0.8642 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.02268, allocations: 0 / 0.8642 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.02271, allocations: 12.02 kB / 0.8642 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.02271, allocations: 4 kB / 0.8643 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.02272, allocations: 0 / 0.8643 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.02272, allocations: 3.938 kB / 0.8643 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02272, allocations: 8 kB / 0.8643 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.02301, allocations: 378.8 kB / 0.8646 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.02306, allocations: 79.28 kB / 0.8647 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.02309, allocations: 4 kB / 0.8647 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.02315, allocations: 4 kB / 0.8647 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.02317, allocations: 11.98 kB / 0.8647 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.02319, allocations: 11.98 kB / 0.8647 GB, free: 2.988 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002285/0.02342, allocations: 387.7 kB / 0.8651 GB, free: 2.602 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02342, allocations: 4 kB / 0.8651 GB, free: 2.598 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006867/0.0241, allocations: 0.5845 MB / 0.8657 GB, free: 2.012 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.0254, allocations: 0.8114 MB / 0.8665 GB, free: 1.227 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006361/0.02604, allocations: 0.9769 MB / 0.8674 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.02605, allocations: 12 kB / 0.8674 GB, free: 224 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/0.02614, allocations: 164.8 kB / 0.8676 GB, free: 56 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.02629, allocations: 36.59 kB / 0.8676 GB, free: 20 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.0273, allocations: 1.434 MB / 0.869 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.459e-05/0.0274, allocations: 187.1 kB / 0.8692 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.02747, allocations: 32.45 kB / 0.8692 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.02757, allocations: 71.36 kB / 0.8693 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.02757, allocations: 0 / 0.8693 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.01667/0.04424, allocations: 15.51 MB / 0.8845 GB, free: 14.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.63281421829015]