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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001089/0.001089, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008631/0.008631, allocations: 168.9 kB / 16.26 MB, free: 6.648 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: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8.875 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2778, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001522/0.2794, allocations: 0.9816 MB / 1.06 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007357/0.2868, allocations: 4.684 MB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.2868, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.2869, allocations: 4 kB / 1.064 GB, free: 15.74 MB / 0.8262 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‘. Notification: Performance of NFTyping.typeBindings: time 0.003805/0.2907, allocations: 1.189 MB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.878e-05/0.2908, allocations: 19.92 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.2909, allocations: 31.97 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.2909, allocations: 3.984 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.291, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2911, allocations: 62.56 kB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.2911, allocations: 0 / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.2948, allocations: 2.254 MB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2949, allocations: 149.2 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.295, allocations: 50.98 kB / 1.068 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.2987, allocations: 1.802 MB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2987, allocations: 4 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2987, allocations: 0 / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2987, allocations: 0 / 1.07 GB, free: 10.16 MB / 0.8262 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.001174/0.2999, allocations: 0.6165 MB / 1.07 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2999, allocations: 8.031 kB / 1.07 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3, allocations: 8.938 kB / 1.07 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3002, allocations: 172.2 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3002, allocations: 384 / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3002, allocations: 4.125 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3004, allocations: 177.6 kB / 1.071 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3004, allocations: 3.938 kB / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3005, allocations: 0 / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.3005, allocations: 3.984 kB / 1.071 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.3007, allocations: 279.9 kB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.301, allocations: 281.6 kB / 1.071 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3012, allocations: 162.5 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3013, allocations: 156.8 kB / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.3013, allocations: 0 / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3013, allocations: 34.56 kB / 1.072 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.3013, allocations: 0 / 1.072 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004608/0.3018, allocations: 445.5 kB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3019, allocations: 51.41 kB / 1.072 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.302, allocations: 169.8 kB / 1.072 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.302, allocations: 25.95 kB / 1.072 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.3021, allocations: 88.12 kB / 1.072 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3021, allocations: 11.84 kB / 1.072 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.3021, allocations: 9.719 kB / 1.072 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3023, allocations: 310.8 kB / 1.073 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3024, allocations: 139.9 kB / 1.073 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.3025, allocations: 140 kB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3027, allocations: 292.7 kB / 1.073 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3027, allocations: 4.062 kB / 1.073 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002549/0.303, allocations: 309.5 kB / 1.073 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.303, allocations: 11.98 kB / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.303, allocations: 0 / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3031, allocations: 0 / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.3031, allocations: 0 / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3031, allocations: 3.938 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.3032, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3032, allocations: 4 kB / 1.073 GB, free: 6.082 MB / 0.8262 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.0001189/0.3034, allocations: 169.8 kB / 1.074 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.3034, allocations: 3.938 kB / 1.074 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.3037, allocations: 324.6 kB / 1.074 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3037, allocations: 0 / 1.074 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3037, allocations: 4 kB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3037, allocations: 0 / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.304, allocations: 285.6 kB / 1.074 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.304, allocations: 0 / 1.074 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-06/0.304, allocations: 3.984 kB / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.304, allocations: 4 kB / 1.074 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.304, allocations: 4.031 kB / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.304, allocations: 0 / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.304, allocations: 3.938 kB / 1.074 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3043, allocations: 344.9 kB / 1.075 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3044, allocations: 81.09 kB / 1.075 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.3044, allocations: 4 kB / 1.075 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.3045, allocations: 0 / 1.075 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3045, allocations: 8.031 kB / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3045, allocations: 0 / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.458e-05/0.3046, allocations: 155.2 kB / 1.075 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3046, allocations: 0 / 1.075 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001557/0.3062, allocations: 0.5739 MB / 1.075 GB, free: 4.043 MB / 0.8262 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.002647/0.3089, allocations: 0.912 MB / 1.076 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.3092, allocations: 291.8 kB / 1.076 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3092, allocations: 0 / 1.076 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3093, allocations: 169.6 kB / 1.077 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3096, allocations: 8.641 kB / 1.077 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3108, allocations: 1.009 MB / 1.078 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3112, allocations: 0.8148 MB / 1.078 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.3112, allocations: 0 / 1.078 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.3113, allocations: 15.42 kB / 1.078 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3113, allocations: 4 kB / 1.078 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of Templates: time 0.021/0.3323, allocations: 12.05 MB / 1.09 GB, free: 4.848 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=480 -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/jenkins/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