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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001857/0.001857, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001882/0.001882, allocations: 194.8 kB / 16.25 MB, free: 6.637 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6643 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6427, allocations: 140.4 MB / 0.9491 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001661/0.6444, allocations: 0.6253 MB / 0.9497 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.6453, allocations: 0.9916 MB / 0.9507 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.6454, allocations: 0 / 0.9507 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.6454, allocations: 0 / 0.9507 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.646, allocations: 82.22 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.943e-05/0.6461, allocations: 8.062 kB / 0.9508 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.313e-05/0.6461, allocations: 2.75 kB / 0.9508 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.6461, allocations: 5.359 kB / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.6462, allocations: 6.75 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.6463, allocations: 33.06 kB / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.6464, allocations: 0 / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.6465, allocations: 76.67 kB / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.6465, allocations: 5.422 kB / 0.9509 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.6465, allocations: 9.344 kB / 0.9509 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.6467, allocations: 67.95 kB / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.6467, allocations: 0 / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6467, allocations: 0 / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6467, allocations: 1.312 kB / 0.951 GB, free: 7.934 MB / 0.7169 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.0002287/0.6469, allocations: 333.6 kB / 0.9513 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.647, allocations: 13.06 kB / 0.9513 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.647, allocations: 2.406 kB / 0.9513 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.6471, allocations: 169.8 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.6471, allocations: 384 / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.6471, allocations: 5.812 kB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/0.6471, allocations: 30.95 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.6472, allocations: 1.531 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.6472, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.6472, allocations: 4 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.6472, allocations: 1.375 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.6475, allocations: 471 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.6475, allocations: 167.1 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.6475, allocations: 80.14 kB / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.6475, allocations: 79.28 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.6476, allocations: 110.6 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6476, allocations: 0 / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.202e-05/0.6476, allocations: 31.02 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.6476, allocations: 128 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.6477, allocations: 102.8 kB / 0.9527 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.6477, allocations: 29.7 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.6477, allocations: 81.64 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.6478, allocations: 0 / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.6478, allocations: 11.41 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.6478, allocations: 315.6 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.6478, allocations: 1.625 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-06/0.6478, allocations: 1.625 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.6479, allocations: 14.02 kB / 0.9531 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6479, allocations: 1.281 kB / 0.9531 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.977e-05/0.648, allocations: 42.59 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.648, allocations: 5.438 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.648, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.648, allocations: 1.188 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.201e-05/0.648, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.648, allocations: 1.281 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.648, allocations: 4.188 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.6481, allocations: 0.9375 kB / 0.9531 GB, free: 5.559 MB / 0.7169 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 4.565e-05/0.6481, allocations: 198.8 kB / 0.9533 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.6481, allocations: 110.2 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.6482, allocations: 120.9 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.6482, allocations: 176.3 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-05/0.6482, allocations: 187.1 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.6483, allocations: 180.3 kB / 0.9541 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.6484, allocations: 406.9 kB / 0.9545 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.6484, allocations: 105.9 kB / 0.9546 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.6484, allocations: 102.5 kB / 0.9547 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/0.6484, allocations: 188.2 kB / 0.9548 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.6485, allocations: 177.5 kB / 0.955 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-05/0.6485, allocations: 181.8 kB / 0.9552 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/0.6485, allocations: 181.5 kB / 0.9554 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.88e-05/0.6486, allocations: 311 kB / 0.9557 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.6486, allocations: 179.2 kB / 0.9558 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.6487, allocations: 181.8 kB / 0.956 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.6487, allocations: 108.9 kB / 0.9561 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.6487, allocations: 181.8 kB / 0.9563 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.6488, allocations: 106.4 kB / 0.9564 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.6488, allocations: 77.81 kB / 0.9564 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6488, allocations: 1.219 kB / 0.9564 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002463/0.649, allocations: 18.88 kB / 0.9565 GB, free: 1.969 MB / 0.7169 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.00028/0.6493, allocations: 231.5 kB / 0.9567 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.412e-05/0.6494, allocations: 6.75 kB / 0.9567 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.6494, allocations: 0 / 0.9567 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.6494, allocations: 0 / 0.9567 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.6497, allocations: 464.1 kB / 0.9571 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.6499, allocations: 205.3 kB / 0.9573 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.65, allocations: 0.674 MB / 0.958 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.6501, allocations: 6.594 kB / 0.958 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.6501, allocations: 12.53 kB / 0.958 GB, free: 412 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6501, allocations: 0 / 0.958 GB, free: 412 kB / 0.7169 GB Notification: Performance of Templates: time 0.002431/0.6525, allocations: 0.6585 MB / 0.9587 GB, free: 88 kB / 0.7169 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 -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/jenkins/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