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.001372/0.001372, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001685/0.001685, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9943/0.9943, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.379/2.379, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.703e-06/1.703e-06, allocations: 0 / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.047e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001167/0.001188, allocations: 0.5753 MB / 0.8904 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006102/0.00729, allocations: 4.988 MB / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.00733, allocations: 0 / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.094e-05/0.007411, allocations: 0 / 0.8952 GB, free: 4.086 MB / 0.8542 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.003102/0.01051, allocations: 1.628 MB / 0.8968 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.412e-05/0.01057, allocations: 35.91 kB / 0.8969 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.01062, allocations: 4 kB / 0.8969 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.01067, allocations: 8 kB / 0.8969 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.01071, allocations: 3.984 kB / 0.8969 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.01075, allocations: 11.98 kB / 0.8969 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.01076, allocations: 4 kB / 0.8969 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.01315, allocations: 2.474 MB / 0.8993 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.01327, allocations: 153.2 kB / 0.8995 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.01329, allocations: 4 kB / 0.8995 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.01504, allocations: 2.03 MB / 0.9014 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01504, allocations: 0 / 0.9014 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01504, allocations: 0 / 0.9014 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.01505, allocations: 0 / 0.9014 GB, free: 13.73 MB / 0.8698 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.0005913/0.01564, allocations: 0.6611 MB / 0.9021 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.01568, allocations: 8.625 kB / 0.9021 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.01571, allocations: 8.938 kB / 0.9021 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.0158, allocations: 104.6 kB / 0.9022 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.01581, allocations: 384 / 0.9022 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.01582, allocations: 4.375 kB / 0.9022 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.01593, allocations: 90.22 kB / 0.9023 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.01594, allocations: 3.938 kB / 0.9023 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.01594, allocations: 3.938 kB / 0.9023 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.01595, allocations: 0 / 0.9023 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.01602, allocations: 120 kB / 0.9024 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.01618, allocations: 213.2 kB / 0.9026 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.568e-05/0.01625, allocations: 99.05 kB / 0.9027 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.0163, allocations: 67.72 kB / 0.9028 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.01631, allocations: 0 / 0.9028 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01634, allocations: 37.39 kB / 0.9028 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.01634, allocations: 0 / 0.9028 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002383/0.01658, allocations: 213.5 kB / 0.903 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.01661, allocations: 59.34 kB / 0.9031 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.01669, allocations: 153.9 kB / 0.9032 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.0167, allocations: 25.95 kB / 0.9033 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.01674, allocations: 130.9 kB / 0.9034 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.01677, allocations: 0 / 0.9034 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.01679, allocations: 19.38 kB / 0.9034 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003903/0.01718, allocations: 496.1 kB / 0.9039 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.01723, allocations: 67.91 kB / 0.9039 GB, free: 11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.01727, allocations: 63.97 kB / 0.904 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.01737, allocations: 135.6 kB / 0.9041 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01737, allocations: 0 / 0.9041 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.01749, allocations: 157.6 kB / 0.9043 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.0175, allocations: 8.094 kB / 0.9043 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01751, allocations: 0 / 0.9043 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01752, allocations: 0 / 0.9043 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.01759, allocations: 11.94 kB / 0.9043 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.01759, allocations: 0 / 0.9043 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.0176, allocations: 0 / 0.9043 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.01761, allocations: 0 / 0.9043 GB, free: 10.62 MB / 0.8698 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 7.578e-05/0.01769, allocations: 152.6 kB / 0.9044 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.01769, allocations: 4 kB / 0.9044 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.01785, allocations: 168.6 kB / 0.9046 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01785, allocations: 4.031 kB / 0.9046 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01785, allocations: 3.938 kB / 0.9046 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01786, allocations: 0 / 0.9046 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.01798, allocations: 213.2 kB / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.01798, allocations: 0 / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.01798, allocations: 0 / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.01798, allocations: 0 / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.01799, allocations: 0 / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.01799, allocations: 0 / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01799, allocations: 0 / 0.9048 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.01811, allocations: 196.3 kB / 0.905 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-06/0.01811, allocations: 4.031 kB / 0.905 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.01812, allocations: 3.984 kB / 0.905 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-06/0.01812, allocations: 0 / 0.905 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.01813, allocations: 0 / 0.905 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.01814, allocations: 4 kB / 0.905 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.01817, allocations: 123.1 kB / 0.9051 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01817, allocations: 0 / 0.9051 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006693/0.01884, allocations: 0.549 MB / 0.9057 GB, free: 9.145 MB / 0.8698 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.001607/0.02045, allocations: 1.029 MB / 0.9067 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.02058, allocations: 135.6 kB / 0.9068 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02058, allocations: 0 / 0.9068 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.02064, allocations: 97.36 kB / 0.9069 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.02074, allocations: 0.7031 kB / 0.9069 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.02144, allocations: 0.7656 MB / 0.9076 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.02152, allocations: 127.2 kB / 0.9078 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.02154, allocations: 0 / 0.9078 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.02159, allocations: 74.14 kB / 0.9078 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of SimCode: time 7.72e-07/0.02159, allocations: 4 kB / 0.9078 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of Templates: time 0.01535/0.03694, allocations: 13.95 MB / 0.9215 GB, free: 9.023 MB / 0.8855 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 -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: 6.034798067063093]