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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002463/0.002463, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00305/0.00305, allocations: 177.2 kB / 22.77 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.552/3.552, allocations: 429.4 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.646e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001854/0.00189, allocations: 0.5769 MB / 0.8781 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.009748/0.01164, allocations: 5.021 MB / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.01167, allocations: 0 / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.01174, allocations: 3.938 kB / 0.883 GB, free: 0.9961 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.005188/0.01693, allocations: 1.614 MB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.01703, allocations: 35.91 kB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.01709, allocations: 4 kB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.01713, allocations: 3.984 kB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.01717, allocations: 7.938 kB / 0.8846 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.01722, allocations: 7.984 kB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.01724, allocations: 0 / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/0.02216, allocations: 2.452 MB / 0.887 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.02236, allocations: 149.2 kB / 0.8871 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.02239, allocations: 7.922 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005013/0.0274, allocations: 2.046 MB / 0.8892 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.02741, allocations: 0 / 0.8892 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.763e-06/0.02741, allocations: 0 / 0.8892 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.02742, allocations: 0 / 0.8892 GB, free: 10.66 MB / 0.8542 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.00135/0.02877, allocations: 0.6494 MB / 0.8898 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.02881, allocations: 8.031 kB / 0.8898 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.02887, allocations: 8.938 kB / 0.8898 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.02902, allocations: 108.6 kB / 0.8899 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.02903, allocations: 384 / 0.8899 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.02904, allocations: 4.375 kB / 0.8899 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.02928, allocations: 150.2 kB / 0.8901 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.0293, allocations: 7.938 kB / 0.8901 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.02931, allocations: 0 / 0.8901 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.02932, allocations: 3.938 kB / 0.8901 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.02959, allocations: 243.9 kB / 0.8903 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.02989, allocations: 232.6 kB / 0.8905 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.03007, allocations: 143 kB / 0.8907 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.03022, allocations: 131.7 kB / 0.8908 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.03023, allocations: 4 kB / 0.8908 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.03028, allocations: 37.39 kB / 0.8908 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.03028, allocations: 0 / 0.8908 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0005306/0.03081, allocations: 401.4 kB / 0.8912 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.03086, allocations: 51.41 kB / 0.8913 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.031, allocations: 153.9 kB / 0.8914 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.03102, allocations: 25.95 kB / 0.8914 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.0311, allocations: 134.8 kB / 0.8916 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.03113, allocations: 4 kB / 0.8916 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.03117, allocations: 19.38 kB / 0.8916 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002735/0.03144, allocations: 496.1 kB / 0.8921 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.03157, allocations: 116 kB / 0.8922 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.03169, allocations: 123.9 kB / 0.8923 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.03194, allocations: 255.5 kB / 0.8925 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.03194, allocations: 0 / 0.8925 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002901/0.03223, allocations: 273.6 kB / 0.8928 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.03225, allocations: 12.09 kB / 0.8928 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.03226, allocations: 0 / 0.8928 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.03227, allocations: 3.938 kB / 0.8928 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.03234, allocations: 3.984 kB / 0.8928 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.03234, allocations: 0 / 0.8928 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.03235, allocations: 4 kB / 0.8928 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.03236, allocations: 0 / 0.8928 GB, free: 6.711 MB / 0.8542 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.00012/0.03248, allocations: 152.6 kB / 0.893 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.03249, allocations: 0 / 0.893 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.03286, allocations: 288.5 kB / 0.8932 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.03287, allocations: 7.969 kB / 0.8932 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.03287, allocations: 0 / 0.8932 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.03287, allocations: 0 / 0.8932 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.03311, allocations: 228.6 kB / 0.8935 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.03311, allocations: 0 / 0.8935 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.03311, allocations: 0 / 0.8935 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.03311, allocations: 0 / 0.8935 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.03312, allocations: 0 / 0.8935 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.03313, allocations: 4 kB / 0.8935 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.03313, allocations: 7.922 kB / 0.8935 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.03349, allocations: 312.3 kB / 0.8938 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-06/0.03349, allocations: 11.91 kB / 0.8938 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.03351, allocations: 8 kB / 0.8938 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.03352, allocations: 0 / 0.8938 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.03354, allocations: 3.938 kB / 0.8938 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.03355, allocations: 0 / 0.8938 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.293e-05/0.03363, allocations: 123.2 kB / 0.8939 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03363, allocations: 3.938 kB / 0.8939 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001759/0.03539, allocations: 0.5452 MB / 0.8944 GB, free: 4.957 MB / 0.8542 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.003435/0.03882, allocations: 1.022 MB / 0.8954 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.03917, allocations: 251.6 kB / 0.8957 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.03917, allocations: 0 / 0.8957 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.03934, allocations: 157.3 kB / 0.8958 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.03952, allocations: 11.52 kB / 0.8958 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.04098, allocations: 0.8376 MB / 0.8967 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.0412, allocations: 189.1 kB / 0.8968 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.262e-05/0.04122, allocations: 4 kB / 0.8968 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.04126, allocations: 16.48 kB / 0.8969 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.04126, allocations: 0 / 0.8969 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of Templates: time 0.02474/0.066, allocations: 12.62 MB / 0.9092 GB, free: 5.922 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.90445339703001]