Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 112.4 kB / 16.37 MB, free: 6.469 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.00183/0.00183, allocations: 194.5 kB / 17.31 MB, free: 5.824 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 61.19 kB / 0.8141 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 140.4 MB / 0.9512 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001702/0.2343, allocations: 0.5633 MB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2356, allocations: 1.001 MB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.2356, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.2356, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.2363, allocations: 87.78 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.562e-05/0.2363, allocations: 8 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.2363, allocations: 11.92 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.2364, allocations: 4 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.2364, allocations: 3.984 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2366, allocations: 37.83 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.2366, allocations: 0 / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2368, allocations: 79.92 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2368, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.2368, allocations: 3.984 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.237, allocations: 67.86 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.237, allocations: 0 / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-06/0.237, allocations: 0 / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.237, allocations: 0 / 0.953 GB, free: 6.129 MB / 0.7325 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.0002837/0.2373, allocations: 339.4 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2373, allocations: 12.03 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.2374, allocations: 0.9375 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2375, allocations: 164.4 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2375, allocations: 384 / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2375, allocations: 4.375 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.908e-05/0.2376, allocations: 33.77 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.2376, allocations: 0 / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.2376, allocations: 0 / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2376, allocations: 3.984 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.2376, allocations: 11.94 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.238, allocations: 468.6 kB / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/0.2381, allocations: 173.1 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.2381, allocations: 84.12 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2382, allocations: 79.28 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2382, allocations: 105.8 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.2382, allocations: 0 / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.299e-05/0.2383, allocations: 25.7 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2383, allocations: 130.7 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.2384, allocations: 101.8 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2384, allocations: 29.64 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2385, allocations: 92.03 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.2385, allocations: 0 / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2385, allocations: 17.72 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2386, allocations: 318.7 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.2386, allocations: 0 / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-06/0.2387, allocations: 4 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.2387, allocations: 4.859 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2387, allocations: 4.062 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.879e-05/0.2388, allocations: 37.69 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2388, allocations: 4 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2388, allocations: 0 / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.2388, allocations: 0 / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.545e-05/0.2388, allocations: 3.938 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2389, allocations: 3.984 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.2389, allocations: 4 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-06/0.2389, allocations: 0 / 0.9551 GB, free: 3.668 MB / 0.7325 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.425e-05/0.239, allocations: 193.1 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.239, allocations: 105 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.2391, allocations: 108.1 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-05/0.2392, allocations: 180.2 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-05/0.2392, allocations: 176.3 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.867e-05/0.2393, allocations: 188.2 kB / 0.956 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.2395, allocations: 409.2 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/0.2396, allocations: 104.9 kB / 0.9565 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.2396, allocations: 105 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.913e-05/0.2397, allocations: 180.3 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.2397, allocations: 184.2 kB / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.687e-05/0.2398, allocations: 180.5 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.055e-05/0.2398, allocations: 188.2 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.24, allocations: 303.8 kB / 0.9576 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.24, allocations: 186 kB / 0.9578 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.2401, allocations: 180.2 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.2402, allocations: 108.9 kB / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.2402, allocations: 180.3 kB / 0.9582 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.2403, allocations: 105 kB / 0.9583 GB, free: 156 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.2403, allocations: 83.28 kB / 0.9584 GB, free: 72 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2403, allocations: 0 / 0.9584 GB, free: 72 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002622/0.2406, allocations: 16 kB / 0.9584 GB, free: 56 kB / 0.7325 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.000333/0.2409, allocations: 242.3 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.909e-05/0.241, allocations: 0 / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.241, allocations: 0 / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.241, allocations: 8 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2414, allocations: 459.7 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.2417, allocations: 200.2 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.2419, allocations: 0.6766 MB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.2419, allocations: 0 / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.242, allocations: 11.44 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.242, allocations: 4 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of Templates: time 0.002626/0.2446, allocations: 0.6525 MB / 0.9606 GB, free: 13.81 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches