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.002353/0.002353, allocations: 88.16 kB / 19.44 MB, free: 192 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.002872/0.002872, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.416/3.416, allocations: 429.5 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.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 1.764e-06/1.764e-06, allocations: 0 / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.869e-05/4.046e-05, allocations: 2.969 kB / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001726/0.001767, allocations: 0.5962 MB / 0.8781 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.003471, allocations: 1.021 MB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.003491, allocations: 1.594 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.003503, allocations: 0 / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.004143, allocations: 86.39 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.006e-05/0.004183, allocations: 17.23 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.004231, allocations: 10.45 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.004267, allocations: 0.5469 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.004309, allocations: 7.938 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.004544, allocations: 38.72 kB / 0.8793 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.00456, allocations: 4 kB / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.004756, allocations: 71.91 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.004766, allocations: 2.062 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.004786, allocations: 4 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.004998, allocations: 83.77 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.005001, allocations: 0 / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005002, allocations: 3.938 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.005007, allocations: 0 / 0.8794 GB, free: 4.66 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.0004428/0.005449, allocations: 364.9 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.005488, allocations: 9.688 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.005535, allocations: 4.891 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.005668, allocations: 112.6 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00568, allocations: 384 / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.00569, allocations: 4.375 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.981e-05/0.00579, allocations: 35.44 kB / 0.8799 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005799, allocations: 192 / 0.8799 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00581, allocations: 8.125 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.005814, allocations: 0 / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.005831, allocations: 0 / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.006356, allocations: 490.2 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.006527, allocations: 261.4 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.0066, allocations: 126.9 kB / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.286e-05/0.006673, allocations: 119.2 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.455e-05/0.006767, allocations: 164.5 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.006768, allocations: 0 / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.808e-05/0.006866, allocations: 33.62 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.006973, allocations: 170.6 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.007128, allocations: 161.9 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.007146, allocations: 25.7 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.007226, allocations: 130.9 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-06/0.007229, allocations: 0 / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.007273, allocations: 23.36 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.007529, allocations: 492.1 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.007539, allocations: 0 / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-06/0.007545, allocations: 4 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.007573, allocations: 7.688 kB / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007575, allocations: 64 / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001273/0.007702, allocations: 53.53 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.007718, allocations: 11.92 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007723, allocations: 0 / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.007747, allocations: 0 / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.007766, allocations: 4 kB / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00777, allocations: 0 / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.007783, allocations: 0 / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.007789, allocations: 0 / 0.8821 GB, free: 1.695 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 0.0001713/0.00796, allocations: 275.8 kB / 0.8824 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.008065, allocations: 156.8 kB / 0.8825 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.008172, allocations: 160 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001439/0.008316, allocations: 272.1 kB / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00014/0.008456, allocations: 268 kB / 0.8832 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/0.008593, allocations: 264.1 kB / 0.8834 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.008973, allocations: 0.492 MB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.915e-05/0.009062, allocations: 144.9 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.009168, allocations: 148.9 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.009349, allocations: 268 kB / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.009521, allocations: 268 kB / 0.8847 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001666/0.009688, allocations: 272 kB / 0.885 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001681/0.009856, allocations: 272.1 kB / 0.8852 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.01019, allocations: 444 kB / 0.8857 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.01048, allocations: 148.9 kB / 0.8858 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.01066, allocations: 276.2 kB / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.01079, allocations: 148.9 kB / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.01095, allocations: 272.1 kB / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/0.01103, allocations: 148.8 kB / 0.8866 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.01111, allocations: 127.4 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01111, allocations: 0 / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002659/0.01138, allocations: 23.88 kB / 0.8867 GB, free: 12.74 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.0005305/0.01191, allocations: 277.4 kB / 0.887 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.213e-05/0.01199, allocations: 11.69 kB / 0.887 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01199, allocations: 0 / 0.887 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.012, allocations: 11.88 kB / 0.887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.01254, allocations: 0.7022 MB / 0.8877 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.01303, allocations: 269.5 kB / 0.888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.0131, allocations: 59.34 kB / 0.888 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.01312, allocations: 0 / 0.888 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.01315, allocations: 8.5 kB / 0.888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01315, allocations: 0 / 0.888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.003799/0.01695, allocations: 0.7207 MB / 0.8887 GB, free: 10.69 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: 8.798129616072401]