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.002045/0.002045, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002222/0.002222, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.628/1.628, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.107/3.107, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 0 / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.141e-05, allocations: 6.031 kB / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00209/0.002121, allocations: 0.5761 MB / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009321/0.01144, allocations: 5.034 MB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.01147, allocations: 1.531 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.421e-05/0.01154, allocations: 0 / 0.8163 GB, free: 12.45 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.004985/0.01652, allocations: 1.614 MB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.01662, allocations: 35.91 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.01668, allocations: 7.984 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.01672, allocations: 1.281 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.01676, allocations: 7.984 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.01681, allocations: 11.94 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.01682, allocations: 0.9062 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.02186, allocations: 2.453 MB / 0.8204 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.02205, allocations: 149.2 kB / 0.8205 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.02208, allocations: 1.344 kB / 0.8205 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.02665, allocations: 2.051 MB / 0.8225 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.02666, allocations: 0 / 0.8225 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.593e-06/0.02666, allocations: 5.75 kB / 0.8225 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.02667, allocations: 0 / 0.8225 GB, free: 6.113 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.001165/0.02783, allocations: 0.6494 MB / 0.8232 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.02787, allocations: 8.031 kB / 0.8232 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.02793, allocations: 0.9375 kB / 0.8232 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.02806, allocations: 109.5 kB / 0.8233 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.02807, allocations: 384 / 0.8233 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.02808, allocations: 3.844 kB / 0.8233 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.02831, allocations: 154.2 kB / 0.8234 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.02832, allocations: 3.938 kB / 0.8234 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.02833, allocations: 3.984 kB / 0.8234 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.02833, allocations: 0 / 0.8234 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.02858, allocations: 247.8 kB / 0.8237 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.02886, allocations: 228.6 kB / 0.8239 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.02905, allocations: 147 kB / 0.824 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.02918, allocations: 127.7 kB / 0.8242 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.0292, allocations: 4.516 kB / 0.8242 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.02924, allocations: 38.27 kB / 0.8242 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.02924, allocations: 0 / 0.8242 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0005456/0.02979, allocations: 402.5 kB / 0.8246 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.02985, allocations: 51.41 kB / 0.8246 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.03, allocations: 151 kB / 0.8248 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.03001, allocations: 25.7 kB / 0.8248 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.03009, allocations: 136 kB / 0.8249 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.03013, allocations: 7.938 kB / 0.8249 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.03017, allocations: 19.38 kB / 0.825 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0006143/0.03079, allocations: 496.7 kB / 0.8254 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.03092, allocations: 123.9 kB / 0.8255 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.03105, allocations: 122 kB / 0.8257 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.03133, allocations: 255.5 kB / 0.8259 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.03134, allocations: 0 / 0.8259 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002981/0.03164, allocations: 277.6 kB / 0.8262 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.03165, allocations: 7.281 kB / 0.8262 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.03165, allocations: 0 / 0.8262 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.03167, allocations: 7.938 kB / 0.8262 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.03174, allocations: 4 kB / 0.8262 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.03175, allocations: 0 / 0.8262 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.03176, allocations: 0 / 0.8262 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.03177, allocations: 0 / 0.8262 GB, free: 2.176 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 0.0001157/0.03188, allocations: 156.6 kB / 0.8263 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.03189, allocations: 0.9375 kB / 0.8263 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.03225, allocations: 288.5 kB / 0.8266 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.03225, allocations: 8.969 kB / 0.8266 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03226, allocations: 0 / 0.8266 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.03226, allocations: 0 / 0.8266 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.03248, allocations: 225.7 kB / 0.8268 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.03249, allocations: 7.984 kB / 0.8268 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.03249, allocations: 0 / 0.8268 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.03249, allocations: 1.094 kB / 0.8268 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.0325, allocations: 0 / 0.8268 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.0325, allocations: 0 / 0.8268 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.0325, allocations: 5.219 kB / 0.8268 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.03284, allocations: 308.3 kB / 0.8271 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.03284, allocations: 4 kB / 0.8271 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.03286, allocations: 0.7812 kB / 0.8271 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.03286, allocations: 3.938 kB / 0.8272 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.03289, allocations: 11.34 kB / 0.8272 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.03289, allocations: 0 / 0.8272 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.546e-05/0.03297, allocations: 119.2 kB / 0.8273 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03297, allocations: 0 / 0.8273 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001674/0.03464, allocations: 0.5568 MB / 0.8278 GB, free: 448 kB / 0.7761 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.003471/0.03811, allocations: 1.031 MB / 0.8288 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.03848, allocations: 251.6 kB / 0.8291 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.03848, allocations: 0 / 0.8291 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.03866, allocations: 157.3 kB / 0.8292 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.0388, allocations: 5.688 kB / 0.8292 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.04005, allocations: 0.8221 MB / 0.83 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.04028, allocations: 201 kB / 0.8302 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.0403, allocations: 7.922 kB / 0.8302 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.04034, allocations: 12.5 kB / 0.8302 GB, free: 14 MB / 0.7917 GB Notification: Performance of SimCode: time 6.91e-07/0.04034, allocations: 0 / 0.8302 GB, free: 14 MB / 0.7917 GB Notification: Performance of Templates: time 0.02492/0.06526, allocations: 12.64 MB / 0.8426 GB, free: 1.375 MB / 0.7917 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.304502415005118]