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.001542/0.001542, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001752/0.001752, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.553/2.553, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7925, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002697/0.7953, allocations: 1.25 MB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007592/0.8029, allocations: 4.483 MB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.8029, allocations: 3.938 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.617e-05/0.8031, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 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 11.0.1-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.00504/0.8081, allocations: 1.509 MB / 1.216 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.8082, allocations: 31.89 kB / 1.216 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.8083, allocations: 15.94 kB / 1.216 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.8084, allocations: 4 kB / 1.216 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.8084, allocations: 8 kB / 1.216 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.8085, allocations: 25.25 kB / 1.216 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.8085, allocations: 0 / 1.216 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.8123, allocations: 2.282 MB / 1.218 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.8125, allocations: 149.2 kB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.8125, allocations: 7.938 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.816, allocations: 1.725 MB / 1.22 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.816, allocations: 3.938 kB / 1.22 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.816, allocations: 0 / 1.22 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8161, allocations: 0 / 1.22 GB, free: 2.164 MB / 0.9356 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.00119/0.8173, allocations: 0.6203 MB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8173, allocations: 8.031 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.8174, allocations: 4.844 kB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.8176, allocations: 168.4 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.8176, allocations: 4.312 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.8176, allocations: 12.12 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.8178, allocations: 165.6 kB / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8178, allocations: 0 / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.8178, allocations: 0 / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8179, allocations: 0 / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.8181, allocations: 287.8 kB / 1.221 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.8184, allocations: 289.7 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.8185, allocations: 154.5 kB / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.8187, allocations: 156.8 kB / 1.221 GB, free: 172 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.8187, allocations: 0 / 1.221 GB, free: 172 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.8187, allocations: 30.56 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.8187, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000454/0.8192, allocations: 457.5 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.8192, allocations: 55.41 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.8194, allocations: 166 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.8194, allocations: 29.83 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.8194, allocations: 80.14 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.8195, allocations: 0 / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.8195, allocations: 13.72 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8196, allocations: 314.8 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.8197, allocations: 139.9 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.8198, allocations: 139.9 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.8201, allocations: 288.8 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8201, allocations: 0 / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002675/0.8204, allocations: 321.5 kB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8204, allocations: 4 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8204, allocations: 0 / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8204, allocations: 4 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.8205, allocations: 0 / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8205, allocations: 0 / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.8206, allocations: 4 kB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.8206, allocations: 4 kB / 1.223 GB, free: 14.09 MB / 0.9512 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.8208, allocations: 173.8 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.8208, allocations: 3.938 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.8211, allocations: 316.7 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.8211, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.8211, allocations: 3.938 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.8212, allocations: 85.09 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.8213, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.8214, allocations: 7.984 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.8214, allocations: 4.031 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003263/0.8217, allocations: 396.7 kB / 1.224 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004724/0.8222, allocations: 486.6 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001177/0.8223, allocations: 143.9 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.993e-05/0.8224, allocations: 151.2 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Backend: time 4.21e-07/0.8224, allocations: 4.156 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003543/0.826, allocations: 1.031 MB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001385/0.8274, allocations: 1.261 MB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.02191/0.8493, allocations: 12.25 MB / 1.239 GB, free: 13.83 MB / 0.9669 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/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