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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_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.001704/0.001704, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001535/0.001536, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 482.4 MB / 0.755 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002971, allocations: 67.48 kB / 0.924 GB, free: 272 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.14, allocations: 162.2 MB / 1.082 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002652/1.142, allocations: 1.324 MB / 1.084 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008059/1.15, allocations: 4.497 MB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/1.15, allocations: 5.125 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.208e-05/1.151, allocations: 0.6562 kB / 1.088 GB, free: 13.68 MB / 0.8419 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 12.0.0-master/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.004916/1.155, allocations: 1.353 MB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/1.156, allocations: 28.52 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/1.156, allocations: 14.09 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/1.156, allocations: 2.188 kB / 1.09 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/1.156, allocations: 8.5 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/1.156, allocations: 69.88 kB / 1.09 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/1.156, allocations: 0 / 1.09 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/1.161, allocations: 2.251 MB / 1.092 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/1.161, allocations: 149.6 kB / 1.092 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/1.161, allocations: 25.05 kB / 1.092 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/1.164, allocations: 1.245 MB / 1.093 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.164, allocations: 1.156 kB / 1.093 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/1.164, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.164, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8419 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.001705/1.166, allocations: 0.6206 MB / 1.094 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.166, allocations: 10.06 kB / 1.094 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/1.166, allocations: 5.641 kB / 1.094 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/1.166, allocations: 163.8 kB / 1.094 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/1.166, allocations: 384 / 1.094 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/1.166, allocations: 9.156 kB / 1.094 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/1.167, allocations: 168.4 kB / 1.094 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.167, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.167, allocations: 4.797 kB / 1.094 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.167, allocations: 1.125 kB / 1.094 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/1.167, allocations: 283 kB / 1.094 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/1.167, allocations: 289.4 kB / 1.095 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/1.167, allocations: 156.3 kB / 1.095 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/1.168, allocations: 148.6 kB / 1.095 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/1.168, allocations: 1.312 kB / 1.095 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/1.168, allocations: 35.08 kB / 1.095 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.168, allocations: 1.469 kB / 1.095 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0006378/1.168, allocations: 457 kB / 1.095 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/1.168, allocations: 52.38 kB / 1.095 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/1.169, allocations: 165 kB / 1.096 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.169, allocations: 26.31 kB / 1.096 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/1.169, allocations: 81.61 kB / 1.096 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/1.169, allocations: 4.234 kB / 1.096 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/1.169, allocations: 19.92 kB / 1.096 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.169, allocations: 312.9 kB / 1.096 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/1.169, allocations: 140.2 kB / 1.096 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/1.169, allocations: 140.8 kB / 1.096 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/1.17, allocations: 286.1 kB / 1.097 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.17, allocations: 0.7969 kB / 1.097 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003667/1.17, allocations: 322.7 kB / 1.097 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.17, allocations: 9.953 kB / 1.097 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.17, allocations: 0 / 1.097 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.17, allocations: 3.938 kB / 1.097 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/1.17, allocations: 2.766 kB / 1.097 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.17, allocations: 0.9375 kB / 1.097 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/1.17, allocations: 0 / 1.097 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/1.17, allocations: 1.938 kB / 1.097 GB, free: 10.41 MB / 0.8419 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.0001638/1.17, allocations: 169.8 kB / 1.097 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/1.17, allocations: 4.547 kB / 1.097 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/1.171, allocations: 326.3 kB / 1.097 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.171, allocations: 0 / 1.097 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.171, allocations: 7.938 kB / 1.097 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.171, allocations: 0.75 kB / 1.097 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/1.171, allocations: 292.5 kB / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.171, allocations: 5.594 kB / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/1.171, allocations: 0 / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.171, allocations: 1 kB / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/1.171, allocations: 0.75 kB / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.171, allocations: 2.031 kB / 1.098 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.171, allocations: 4 kB / 1.098 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/1.172, allocations: 343.9 kB / 1.098 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/1.172, allocations: 77.95 kB / 1.098 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/1.172, allocations: 1.188 kB / 1.098 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/1.172, allocations: 0.7969 kB / 1.098 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/1.172, allocations: 5.062 kB / 1.098 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/1.172, allocations: 1.219 kB / 1.098 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001189/1.172, allocations: 153.5 kB / 1.098 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/1.172, allocations: 0 / 1.098 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002599/1.175, allocations: 0.5668 MB / 1.099 GB, free: 9.668 MB / 0.8419 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.003162/1.178, allocations: 0.9241 MB / 1.1 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003818/1.178, allocations: 286.8 kB / 1.1 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.178, allocations: 0 / 1.1 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/1.178, allocations: 168.4 kB / 1.1 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/1.179, allocations: 5.25 kB / 1.1 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/1.179, allocations: 330 kB / 1.1 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/1.18, allocations: 0.6716 MB / 1.101 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/1.18, allocations: 13.19 kB / 1.101 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/1.18, allocations: 0 / 1.101 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of Templates: time 0.03144/1.211, allocations: 12.1 MB / 1.113 GB, free: 5.422 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches