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.0009799/0.0009798, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009291/0.000929, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.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.39/2.39, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8 kB / 0.8146 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6673, allocations: 142.3 MB / 0.9535 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006304/0.6679, allocations: 291.5 kB / 0.9538 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00093/0.6689, allocations: 0.9345 MB / 0.9547 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.6689, allocations: 3.938 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.6689, allocations: 0 / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.6696, allocations: 76.12 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.028e-05/0.6696, allocations: 11.34 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.6696, allocations: 1.625 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.6697, allocations: 9.422 kB / 0.9548 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.6697, allocations: 6.484 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.6699, allocations: 27.05 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.6699, allocations: 1.094 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.67, allocations: 54.36 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.67, allocations: 3.984 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.67, allocations: 26.55 kB / 0.955 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.6701, allocations: 45.78 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.6701, allocations: 1.156 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6701, allocations: 0 / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6701, allocations: 4 kB / 0.955 GB, free: 6.957 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.0002184/0.6704, allocations: 328.1 kB / 0.9553 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6704, allocations: 13.59 kB / 0.9553 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.6704, allocations: 11.86 kB / 0.9553 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.6705, allocations: 161.4 kB / 0.9555 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.6705, allocations: 7.938 kB / 0.9555 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.6706, allocations: 1.5 kB / 0.9555 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.6706, allocations: 26.86 kB / 0.9555 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.6706, allocations: 4 kB / 0.9555 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.6707, allocations: 3.984 kB / 0.9555 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6707, allocations: 1.5 kB / 0.9555 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.6707, allocations: 5.422 kB / 0.9555 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.671, allocations: 466.1 kB / 0.956 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.671, allocations: 170.4 kB / 0.9561 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.671, allocations: 80.5 kB / 0.9562 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.6711, allocations: 105.8 kB / 0.9563 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6711, allocations: 1.25 kB / 0.9563 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.235e-05/0.6711, allocations: 36.09 kB / 0.9564 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.6712, allocations: 126.7 kB / 0.9565 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.6713, allocations: 102.6 kB / 0.9566 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.6713, allocations: 26.77 kB / 0.9566 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.6713, allocations: 85.36 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.6713, allocations: 0 / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.6713, allocations: 0 / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.6714, allocations: 312.1 kB / 0.957 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/0.6714, allocations: 0 / 0.957 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.6714, allocations: 6.172 kB / 0.957 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.547e-05/0.6714, allocations: 5.031 kB / 0.957 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6714, allocations: 0 / 0.957 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.606e-05/0.6715, allocations: 39.95 kB / 0.957 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6715, allocations: 5.5 kB / 0.957 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.6715, allocations: 0 / 0.957 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6716, allocations: 0 / 0.957 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.6716, allocations: 5.406 kB / 0.957 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6716, allocations: 3.953 kB / 0.957 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.6716, allocations: 1.281 kB / 0.957 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.6716, allocations: 0 / 0.957 GB, free: 4.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.6717, allocations: 190.5 kB / 0.9572 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.6717, allocations: 101.9 kB / 0.9573 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.6717, allocations: 113.1 kB / 0.9574 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.6718, allocations: 181.5 kB / 0.9576 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/0.6718, allocations: 181.3 kB / 0.9578 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.6718, allocations: 189.4 kB / 0.958 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.672, allocations: 399.3 kB / 0.9583 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.672, allocations: 109.9 kB / 0.9584 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.672, allocations: 106.2 kB / 0.9585 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.336e-05/0.672, allocations: 176.3 kB / 0.9587 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.6721, allocations: 181.5 kB / 0.9589 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/0.6721, allocations: 177.5 kB / 0.9591 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-05/0.6721, allocations: 185.5 kB / 0.9592 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.224e-05/0.6722, allocations: 319.1 kB / 0.9595 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.6722, allocations: 188 kB / 0.9597 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.6723, allocations: 182.2 kB / 0.9599 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.6723, allocations: 112.9 kB / 0.96 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.6723, allocations: 178.4 kB / 0.9602 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6724, allocations: 101 kB / 0.9603 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.6724, allocations: 79.5 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.22e-07/0.6724, allocations: 0 / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002501/0.6727, allocations: 29.95 kB / 0.9604 GB, free: 1.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/0.673, allocations: 244.8 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.327e-05/0.6731, allocations: 2.219 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6731, allocations: 1.25 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.6731, allocations: 0 / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.6733, allocations: 0.5252 MB / 0.9611 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.6735, allocations: 161 kB / 0.9613 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.6737, allocations: 0.6755 MB / 0.9619 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.6737, allocations: 6.5 kB / 0.9619 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.6737, allocations: 12.41 kB / 0.962 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6737, allocations: 0 / 0.962 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.002798/0.6765, allocations: 0.6294 MB / 0.9626 GB, free: 15.18 MB / 0.7325 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","../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