Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.001311/0.001311, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001487/0.001487, allocations: 177 kB / 23.36 MB, free: 1.125 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.9485/0.9485, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.345/2.345, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] 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.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.627e-05, allocations: 10.25 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00193/0.001956, allocations: 0.6288 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007775/0.009731, allocations: 5.049 MB / 0.8442 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.009757, allocations: 0 / 0.8442 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.009812, allocations: 0 / 0.8442 GB, free: 8.395 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.typeBindings: time 0.003981/0.01379, allocations: 1.46 MB / 0.8457 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 7.58e-05/0.01387, allocations: 27.95 kB / 0.8457 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.545e-05/0.01392, allocations: 11.94 kB / 0.8457 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.01396, allocations: 0 / 0.8457 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.014, allocations: 4 kB / 0.8457 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.01404, allocations: 7.984 kB / 0.8457 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.01405, allocations: 0 / 0.8457 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/0.01867, allocations: 2.649 MB / 0.8483 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.01881, allocations: 149.2 kB / 0.8484 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.01884, allocations: 11.98 kB / 0.8484 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.0221, allocations: 2.015 MB / 0.8504 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.02211, allocations: 4 kB / 0.8504 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.512e-06/0.02211, allocations: 0 / 0.8504 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.02211, allocations: 0 / 0.8504 GB, free: 2.051 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000951/0.02306, allocations: 0.5325 MB / 0.8509 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.0231, allocations: 12.62 kB / 0.8509 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.02314, allocations: 0.9375 kB / 0.851 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.02324, allocations: 105.8 kB / 0.8511 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.02325, allocations: 4.359 kB / 0.8511 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.02326, allocations: 4.375 kB / 0.8511 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.0234, allocations: 90.23 kB / 0.8511 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.02341, allocations: 3.938 kB / 0.8511 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.02341, allocations: 0 / 0.8511 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.02342, allocations: 0 / 0.8511 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.02353, allocations: 127.9 kB / 0.8513 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.02372, allocations: 177 kB / 0.8514 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.02381, allocations: 74.58 kB / 0.8515 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.02387, allocations: 68.89 kB / 0.8516 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.02387, allocations: 0 / 0.8516 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.0239, allocations: 30.56 kB / 0.8516 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.0239, allocations: 0 / 0.8516 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.000265/0.02417, allocations: 217.5 kB / 0.8518 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.0242, allocations: 55.34 kB / 0.8519 GB, free: 468 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.02427, allocations: 102.8 kB / 0.852 GB, free: 352 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.02428, allocations: 33.83 kB / 0.852 GB, free: 312 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.02431, allocations: 88.12 kB / 0.8521 GB, free: 220 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.02433, allocations: 0 / 0.8521 GB, free: 220 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.02436, allocations: 9.719 kB / 0.8521 GB, free: 204 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.02446, allocations: 314.8 kB / 0.8524 GB, free: 15.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.02452, allocations: 59.97 kB / 0.8524 GB, free: 15.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.02457, allocations: 59.97 kB / 0.8525 GB, free: 15.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.02468, allocations: 128.8 kB / 0.8526 GB, free: 15.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.02468, allocations: 0 / 0.8526 GB, free: 15.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001457/0.02482, allocations: 165.6 kB / 0.8528 GB, free: 15.47 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.02484, allocations: 4 kB / 0.8528 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.02484, allocations: 0 / 0.8528 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.02486, allocations: 0 / 0.8528 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.0249, allocations: 4 kB / 0.8528 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.02491, allocations: 3.938 kB / 0.8528 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.02492, allocations: 0 / 0.8528 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.02492, allocations: 3.938 kB / 0.8528 GB, free: 15.45 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.964e-05/0.02498, allocations: 112.7 kB / 0.8529 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.02499, allocations: 4 kB / 0.8529 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.02516, allocations: 164.6 kB / 0.8531 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02517, allocations: 0 / 0.8531 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02517, allocations: 3.938 kB / 0.8531 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.02517, allocations: 0 / 0.8531 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.02532, allocations: 181.8 kB / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.02532, allocations: 0 / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.02532, allocations: 4 kB / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.02532, allocations: 0 / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.02533, allocations: 0 / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.02533, allocations: 0 / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02533, allocations: 0 / 0.8532 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.02548, allocations: 185 kB / 0.8534 GB, free: 14.76 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.02549, allocations: 3.984 kB / 0.8534 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.0255, allocations: 0 / 0.8534 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.02551, allocations: 0 / 0.8534 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.02552, allocations: 7.938 kB / 0.8534 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.02552, allocations: 0 / 0.8534 GB, free: 14.75 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.209e-05/0.02554, allocations: 8.844 kB / 0.8534 GB, free: 14.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.02554, allocations: 0 / 0.8534 GB, free: 14.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001248/0.02678, allocations: 0.5529 MB / 0.854 GB, free: 14.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.002595/0.02938, allocations: 1.09 MB / 0.8551 GB, free: 13.23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.02954, allocations: 128.8 kB / 0.8552 GB, free: 13.11 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.02955, allocations: 0 / 0.8552 GB, free: 13.11 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.02962, allocations: 94.53 kB / 0.8553 GB, free: 13 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.388e-05/0.0297, allocations: 3.984 kB / 0.8553 GB, free: 13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.03057, allocations: 0.7648 MB / 0.856 GB, free: 12.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.03066, allocations: 111.2 kB / 0.8561 GB, free: 12.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.03069, allocations: 7.938 kB / 0.8561 GB, free: 12.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.03074, allocations: 51.38 kB / 0.8562 GB, free: 12.02 MB / 0.823 GB Notification: Performance of SimCode: time 8.82e-07/0.03074, allocations: 0 / 0.8562 GB, free: 12.02 MB / 0.823 GB Notification: Performance of Templates: time 0.01581/0.04655, allocations: 13.77 MB / 0.8696 GB, free: 14.27 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.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.690829970873892]