Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.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.001764/0.001764, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002458/0.002458, allocations: 215.8 kB / 23.01 MB, free: 4.566 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.277/3.277, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.2|2|1.|kappa.2|2|2.|kappa.2|2|3.|kappa.2|2|4.|kappa.2|2|5.|kappa.2|2|6.|kappa.2|2|7.|kappa.1|4|1.|kappa.1|4|2.|kappa.1|4|3.|kappa.1|4|4.|kappa.1|4|5.|kappa.1|4|6.|kappa.1|4|7.|kappa.7|6|1.|kappa.7|6|2.|kappa.7|6|3.|kappa.7|6|4.|kappa.7|6|5.|kappa.7|6|6.|kappa.7|6|7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.2|2|1.|kappa.2|2|2.|kappa.2|2|3.|kappa.2|2|4.|kappa.2|2|5.|kappa.2|2|6.|kappa.2|2|7.|kappa.1|4|1.|kappa.1|4|2.|kappa.1|4|3.|kappa.1|4|4.|kappa.1|4|5.|kappa.1|4|6.|kappa.1|4|7.|kappa.7|6|1.|kappa.7|6|2.|kappa.7|6|3.|kappa.7|6|4.|kappa.7|6|5.|kappa.7|6|6.|kappa.7|6|7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 61.14 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix): time 0.002381/0.3615, allocations: 1.27 MB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004977/0.3665, allocations: 2.972 MB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.3665, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.3665, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.3691, allocations: 1.03 MB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.3691, allocations: 0 / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.3692, allocations: 11.98 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3692, allocations: 0 / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.3692, allocations: 4 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.3692, allocations: 15.91 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-06/0.3693, allocations: 0 / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.3717, allocations: 1.661 MB / 1.361 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.3721, allocations: 483.8 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3721, allocations: 4 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.3736, allocations: 1.138 MB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3736, allocations: 0 / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3736, allocations: 0 / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.3736, allocations: 0 / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007531/0.3743, allocations: 472.4 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3744, allocations: 8.031 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.3744, allocations: 76.22 kB / 1.363 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3746, allocations: 189.8 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.3746, allocations: 154.9 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.3747, allocations: 154.7 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.3748, allocations: 108.9 kB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.3748, allocations: 75.28 kB / 1.364 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.3749, allocations: 154.6 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.375, allocations: 154.5 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.375, allocations: 150.6 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3754, allocations: 417 kB / 1.365 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.3755, allocations: 173.1 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.3756, allocations: 88.02 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3756, allocations: 75.28 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.3756, allocations: 109.8 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3756, allocations: 0 / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.069e-05/0.3757, allocations: 29.69 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.3758, allocations: 130.7 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.3761, allocations: 317.8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3761, allocations: 29.64 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.3761, allocations: 80.14 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3761, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.3762, allocations: 13.72 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3763, allocations: 318.8 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.3763, allocations: 128 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.3763, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.3763, allocations: 75.28 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.3764, allocations: 79.22 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.957e-05/0.3764, allocations: 33.64 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.3765, allocations: 79.28 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/0.3765, allocations: 79.22 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.902e-05/0.3766, allocations: 154.6 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.913e-05/0.3766, allocations: 83.41 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-05/0.3767, allocations: 158.5 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3769, allocations: 79.27 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.3769, allocations: 79.22 kB / 1.367 GB, free: 10.82 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0002974/0.3772, allocations: 440.3 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.3773, allocations: 112.9 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.3773, allocations: 115.9 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.923e-05/0.3774, allocations: 176.3 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-05/0.3775, allocations: 176.3 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.872e-05/0.3776, allocations: 184.2 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.3779, allocations: 376.2 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/0.378, allocations: 108.9 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.378, allocations: 113 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.073e-05/0.3781, allocations: 176.3 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.3782, allocations: 180.2 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.397e-05/0.3782, allocations: 180.2 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.58e-05/0.3783, allocations: 192.1 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.3785, allocations: 299.8 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.3785, allocations: 112.9 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.3788, allocations: 180.3 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.379, allocations: 104.9 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.3791, allocations: 184.3 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.3791, allocations: 101 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002341/0.3793, allocations: 303.2 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3793, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009344/0.3803, allocations: 402.9 kB / 1.371 GB, free: 6.492 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001713/0.382, allocations: 0.7132 MB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.396e-05/0.382, allocations: 0 / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.382, allocations: 0 / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.382, allocations: 4 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.3826, allocations: 468.8 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3844, allocations: 0.6758 MB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3847, allocations: 0.6806 MB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3847, allocations: 11.44 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3847, allocations: 4 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of Templates: time 0.04385/0.4286, allocations: 22.5 MB / 1.395 GB, free: 13.43 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Error getting time from reference file " [Timeout remaining time 300] "" Variables in the reference:time,kappa[2,2,1],kappa[2,2,2],kappa[2,2,3],kappa[2,2,4],kappa[2,2,5],kappa[2,2,6],kappa[2,2,7],kappa[1,4,1],kappa[1,4,2],kappa[1,4,3],kappa[1,4,4],kappa[1,4,5],kappa[1,4,6],kappa[1,4,7],kappa[7,6,1],kappa[7,6,2],kappa[7,6,3],kappa[7,6,4],kappa[7,6,5],kappa[7,6,6],kappa[7,6,7] Variables in the result:time [Calling sys.exit(0), Time elapsed: 14.35072036398924]