Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001047/0.001047, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009689/0.0009689, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9114/0.9114, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.942/1.942, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.722e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001737/0.001764, allocations: 0.6125 MB / 0.8788 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003274, allocations: 1.036 MB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.003296, allocations: 0.9844 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.003319, allocations: 0 / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.00404, allocations: 95.33 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.381e-05/0.004084, allocations: 8 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.411e-05/0.004138, allocations: 2.219 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.004182, allocations: 7.984 kB / 0.88 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.004214, allocations: 3.938 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.004441, allocations: 37.03 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.004454, allocations: 0 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.004643, allocations: 76.98 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.004656, allocations: 7.938 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.004674, allocations: 0 / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.004865, allocations: 80.75 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004868, allocations: 0 / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004868, allocations: 3.938 kB / 0.8802 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.004873, allocations: 5.656 kB / 0.8802 GB, free: 4.285 MB / 0.8386 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.0003377/0.005211, allocations: 368.5 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.005251, allocations: 8.031 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.005295, allocations: 4.938 kB / 0.8805 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.005402, allocations: 109.1 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005416, allocations: 2.25 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.005426, allocations: 4.375 kB / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.00551, allocations: 30.27 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005518, allocations: 192 / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.00553, allocations: 4.125 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005538, allocations: 1.344 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.005554, allocations: 4 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.005976, allocations: 486.2 kB / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.006083, allocations: 266.5 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.006125, allocations: 126.9 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.006157, allocations: 123.2 kB / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.006216, allocations: 157.2 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.006218, allocations: 1.594 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.872e-05/0.006287, allocations: 33.64 kB / 0.8818 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.006356, allocations: 174.6 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.006462, allocations: 157.9 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.006473, allocations: 25.7 kB / 0.8822 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.006522, allocations: 137.3 kB / 0.8823 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.006524, allocations: 0 / 0.8823 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.006559, allocations: 19.38 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.006692, allocations: 492.1 kB / 0.8828 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.006705, allocations: 4 kB / 0.8828 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.006716, allocations: 0 / 0.8828 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.006746, allocations: 13.73 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006749, allocations: 0 / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001109/0.006859, allocations: 45.58 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.006874, allocations: 7.938 kB / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006879, allocations: 0.7188 kB / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.006892, allocations: 0 / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.987e-05/0.006912, allocations: 5.188 kB / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006918, allocations: 0 / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.006933, allocations: 0 / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006938, allocations: 96 / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * 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 9.961e-05/0.007038, allocations: 275.8 kB / 0.8831 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.007107, allocations: 160.8 kB / 0.8833 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.007164, allocations: 152 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-05/0.00724, allocations: 268.1 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-05/0.007315, allocations: 272 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.005e-05/0.007405, allocations: 264.1 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.007624, allocations: 499.9 kB / 0.8847 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.004e-05/0.007674, allocations: 148.8 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.007719, allocations: 148.9 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.123e-05/0.0078, allocations: 280 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.007877, allocations: 268 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.467e-05/0.007951, allocations: 268.1 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/0.008025, allocations: 268 kB / 0.886 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.008184, allocations: 448 kB / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.008229, allocations: 148.9 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.008315, allocations: 268.3 kB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.008397, allocations: 149 kB / 0.8869 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.008478, allocations: 272.1 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.008521, allocations: 156.8 kB / 0.8874 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.008581, allocations: 127.2 kB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.008581, allocations: 4 kB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002823/0.008863, allocations: 23.88 kB / 0.8875 GB, free: 12.38 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003965/0.00926, allocations: 265.8 kB / 0.8878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.00934, allocations: 11.69 kB / 0.8878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.009342, allocations: 0 / 0.8878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.009344, allocations: 8 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.009774, allocations: 0.71 MB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.01019, allocations: 265.6 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.01023, allocations: 51.36 kB / 0.8888 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.01025, allocations: 4 kB / 0.8888 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.01028, allocations: 8.5 kB / 0.8888 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of SimCode: time 6.62e-07/0.01028, allocations: 0 / 0.8888 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.003423/0.0137, allocations: 0.8562 MB / 0.8896 GB, free: 10.2 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.216237643733621]