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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001521/0.001521, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.00167/0.00167, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 62.78 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002823/0.3334, allocations: 1.257 MB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007336/0.3407, allocations: 4.493 MB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.3408, allocations: 3.938 kB / 1.024 GB, free: 4.801 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.609e-05/0.3409, allocations: 0 / 1.024 GB, free: 4.801 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.1-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.004419/0.3454, allocations: 1.506 MB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.251e-05/0.3455, allocations: 31.91 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.3455, allocations: 8 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.3456, allocations: 7.984 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.3456, allocations: 7.984 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.3457, allocations: 21.22 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3457, allocations: 0 / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.3493, allocations: 2.207 MB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3494, allocations: 149.2 kB / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.3495, allocations: 0 / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.3523, allocations: 1.735 MB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3524, allocations: 4 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3524, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3524, allocations: 0 / 1.029 GB, free: 15.12 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.001018/0.3534, allocations: 0.6125 MB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3534, allocations: 20.52 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3535, allocations: 4.938 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3537, allocations: 160.4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3537, allocations: 384 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3537, allocations: 8.125 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.3539, allocations: 173.6 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3539, allocations: 3.984 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.354, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.354, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.3542, allocations: 279.9 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.3545, allocations: 289.6 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.3547, allocations: 158.5 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3549, allocations: 148.8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.3549, allocations: 3.938 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3549, allocations: 38.56 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3549, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0004733/0.3554, allocations: 449.5 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3555, allocations: 55.41 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3556, allocations: 165.8 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3556, allocations: 33.62 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.3557, allocations: 84.14 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3557, allocations: 7.844 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3558, allocations: 9.719 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3559, allocations: 315.1 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.356, allocations: 143.9 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3562, allocations: 139.9 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3564, allocations: 292.7 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3564, allocations: 0 / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002807/0.3567, allocations: 317.5 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3567, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3567, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3568, allocations: 4.094 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.3568, allocations: 4 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3568, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.3569, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3569, allocations: 0 / 1.033 GB, free: 11.04 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.0001342/0.3571, allocations: 177.7 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.3571, allocations: 3.938 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.3574, allocations: 320.7 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3574, allocations: 0 / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3575, allocations: 4.031 kB / 1.033 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3575, allocations: 0 / 1.033 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.3577, allocations: 293.5 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3578, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3578, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3578, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3578, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3578, allocations: 4 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3578, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3581, allocations: 356.9 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.3581, allocations: 77.11 kB / 1.034 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.3582, allocations: 4 kB / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3583, allocations: 0 / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.3583, allocations: 0 / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3583, allocations: 0 / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001071/0.3584, allocations: 155.2 kB / 1.034 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3584, allocations: 0 / 1.034 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001487/0.3599, allocations: 0.5702 MB / 1.035 GB, free: 9.004 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.002511/0.3624, allocations: 0.9155 MB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.3628, allocations: 283.9 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3628, allocations: 0 / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.363, allocations: 173.6 kB / 1.036 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3632, allocations: 15.62 kB / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.3639, allocations: 427.2 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3642, allocations: 0.6729 MB / 1.037 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.3643, allocations: 11.44 kB / 1.037 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3643, allocations: 0 / 1.037 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of Templates: time 0.02457/0.3888, allocations: 12.12 MB / 1.049 GB, free: 10.44 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=400 -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