Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 116.7 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.001621, allocations: 191.1 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.67 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2967, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003195/0.2999, allocations: 1.257 MB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008275/0.3082, allocations: 4.493 MB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.3083, allocations: 3.938 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.218e-05/0.3084, allocations: 3.938 kB / 1.024 GB, free: 4.031 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.005638/0.314, allocations: 1.491 MB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.3142, allocations: 39.89 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.3143, allocations: 8 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.3143, allocations: 4 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.3144, allocations: 15.91 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.3144, allocations: 17.28 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3145, allocations: 4 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.3189, allocations: 2.278 MB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3191, allocations: 149.2 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.3191, allocations: 8 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.3225, allocations: 1.727 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3225, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3225, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3225, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 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.001079/0.3236, allocations: 0.6203 MB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3237, allocations: 12.88 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.3237, allocations: 4.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3238, allocations: 172.4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.3239, allocations: 384 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3239, allocations: 8.062 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3241, allocations: 165.6 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3241, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3241, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3241, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.3244, allocations: 275.9 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.3247, allocations: 297.6 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3249, allocations: 154.6 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.325, allocations: 156.7 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.3251, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3251, allocations: 30.56 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3251, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0004146/0.3255, allocations: 453.5 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3255, allocations: 59.53 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3257, allocations: 165.8 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3257, allocations: 25.7 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.3257, allocations: 84.08 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3258, allocations: 7.844 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3258, allocations: 17.72 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3259, allocations: 310.8 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.326, allocations: 148 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.3261, allocations: 143.9 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.3263, allocations: 288.7 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3263, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002467/0.3266, allocations: 313.5 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3266, allocations: 8 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3266, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3266, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.3267, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3267, allocations: 4.094 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.3268, allocations: 8 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3268, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 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.0001145/0.3269, allocations: 170.4 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3269, allocations: 3.938 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.3272, allocations: 320.7 kB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3273, allocations: 4 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3273, allocations: 3.984 kB / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3273, allocations: 4.031 kB / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3275, allocations: 289.6 kB / 1.035 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3275, allocations: 0 / 1.035 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.3275, allocations: 4 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3275, allocations: 0 / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.3276, allocations: 0 / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3276, allocations: 0 / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3276, allocations: 0 / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3278, allocations: 352.9 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.328, allocations: 77.11 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.3281, allocations: 0 / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.3282, allocations: 0 / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.3282, allocations: 4 kB / 1.035 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3282, allocations: 3.984 kB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.3283, allocations: 147.3 kB / 1.035 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3283, allocations: 0 / 1.035 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001555/0.3298, allocations: 0.57 MB / 1.036 GB, free: 8.168 MB / 0.8106 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.002078/0.3319, allocations: 0.9269 MB / 1.037 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3322, allocations: 279.9 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3322, allocations: 0 / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3324, allocations: 173.6 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.3325, allocations: 9 kB / 1.037 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3336, allocations: 0.9298 MB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.334, allocations: 0.8146 MB / 1.039 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.334, allocations: 4 kB / 1.039 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.334, allocations: 15.42 kB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.334, allocations: 7.938 kB / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.03458/0.3686, allocations: 12.24 MB / 1.051 GB, free: 8.863 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches