Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001307/0.001307, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001444/0.001444, allocations: 161 kB / 23.82 MB, free: 0.75 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.9076/0.9076, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.9 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.79e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001043/0.001061, allocations: 0.5881 MB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00519/0.006251, allocations: 5.076 MB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.006273, allocations: 0 / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.006327, allocations: 0 / 0.8171 GB, free: 11.98 MB / 0.7761 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.002848/0.009174, allocations: 1.625 MB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.641e-05/0.009231, allocations: 36.86 kB / 0.8187 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.009276, allocations: 7.984 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.009308, allocations: 0.9688 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.009334, allocations: 4 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.009365, allocations: 11.94 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.009376, allocations: 0.8125 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.01222, allocations: 2.519 MB / 0.8212 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.01232, allocations: 154.3 kB / 0.8214 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.01234, allocations: 3.938 kB / 0.8214 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.01453, allocations: 2.055 MB / 0.8234 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01453, allocations: 0.5938 kB / 0.8234 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01453, allocations: 1.406 kB / 0.8234 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.01454, allocations: 0 / 0.8234 GB, free: 5.59 MB / 0.7761 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.000689/0.01523, allocations: 0.6533 MB / 0.824 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.01526, allocations: 8.031 kB / 0.824 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.01529, allocations: 2.562 kB / 0.824 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/0.01537, allocations: 112.6 kB / 0.8241 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.01538, allocations: 384 / 0.8241 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.01539, allocations: 384 / 0.8241 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.01553, allocations: 155.3 kB / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.01554, allocations: 3.938 kB / 0.8243 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.01554, allocations: 0 / 0.8243 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.01555, allocations: 9.094 kB / 0.8243 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.01568, allocations: 239.9 kB / 0.8245 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.01583, allocations: 228.6 kB / 0.8248 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.01592, allocations: 151.7 kB / 0.8249 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.016, allocations: 131 kB / 0.825 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.016, allocations: 0 / 0.825 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.01602, allocations: 37.33 kB / 0.8251 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.01602, allocations: 0 / 0.8251 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002838/0.01631, allocations: 401.5 kB / 0.8254 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.01633, allocations: 51.41 kB / 0.8255 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.0164, allocations: 153.9 kB / 0.8256 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.01641, allocations: 26.61 kB / 0.8257 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.01643, allocations: 134.9 kB / 0.8258 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.01646, allocations: 8.297 kB / 0.8258 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.01648, allocations: 15.97 kB / 0.8258 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.01658, allocations: 496.4 kB / 0.8263 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.01665, allocations: 124 kB / 0.8264 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.01671, allocations: 123.9 kB / 0.8265 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.01684, allocations: 255.5 kB / 0.8268 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01685, allocations: 0 / 0.8268 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000399/0.01724, allocations: 273.6 kB / 0.827 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.01726, allocations: 5.875 kB / 0.827 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01726, allocations: 0 / 0.827 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01727, allocations: 7.922 kB / 0.827 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.01733, allocations: 4 kB / 0.827 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01733, allocations: 4.094 kB / 0.827 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-06/0.01734, allocations: 0 / 0.827 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.01735, allocations: 0 / 0.827 GB, free: 1.645 MB / 0.7761 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.443e-05/0.0174, allocations: 156.6 kB / 0.8272 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.01741, allocations: 0 / 0.8272 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.0176, allocations: 284.5 kB / 0.8275 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.0176, allocations: 3.938 kB / 0.8275 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01761, allocations: 0 / 0.8275 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.01761, allocations: 0 / 0.8275 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.01772, allocations: 228.6 kB / 0.8277 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.01772, allocations: 4.031 kB / 0.8277 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.01772, allocations: 0 / 0.8277 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01772, allocations: 7.984 kB / 0.8277 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.01773, allocations: 0 / 0.8277 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.01773, allocations: 3.984 kB / 0.8277 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01773, allocations: 3.938 kB / 0.8277 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.01789, allocations: 312.3 kB / 0.828 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-06/0.01789, allocations: 7.984 kB / 0.828 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.0179, allocations: 0 / 0.828 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-06/0.01791, allocations: 0 / 0.828 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.01792, allocations: 7.969 kB / 0.828 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.01793, allocations: 7.938 kB / 0.828 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.802e-05/0.01795, allocations: 119.2 kB / 0.8281 GB, free: 460 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01795, allocations: 0 / 0.8281 GB, free: 460 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007692/0.01872, allocations: 0.5491 MB / 0.8287 GB, free: 15.9 MB / 0.7917 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.001655/0.02038, allocations: 1.032 MB / 0.8297 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.02056, allocations: 255.6 kB / 0.8299 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.02056, allocations: 0 / 0.8299 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.02065, allocations: 165.2 kB / 0.8301 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.02076, allocations: 8 kB / 0.8301 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.0214, allocations: 0.8143 MB / 0.8309 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.02146, allocations: 119.1 kB / 0.831 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.02148, allocations: 8 kB / 0.831 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.0215, allocations: 12.5 kB / 0.831 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of SimCode: time 8.22e-07/0.0215, allocations: 0 / 0.831 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of Templates: time 0.01558/0.03708, allocations: 14.49 MB / 0.8452 GB, free: 15.05 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.327230058144778]