Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008556, allocations: 98.83 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.0009454/0.0009455, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.427/2.427, allocations: 390.2 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003578, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8583, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.0007425/0.8591, allocations: 297 kB / 0.9538 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.8606, allocations: 1.257 MB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.213e-05/0.8606, allocations: 3.938 kB / 0.9551 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.8606, allocations: 4 kB / 0.9551 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.8606, allocations: 0 / 0.9551 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.8611, allocations: 81.83 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.8612, allocations: 6.812 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.8612, allocations: 1.062 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.8612, allocations: 2.062 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.8613, allocations: 5.234 kB / 0.9552 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.8613, allocations: 1.125 kB / 0.9552 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.8616, allocations: 133.4 kB / 0.9553 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.8616, allocations: 1.156 kB / 0.9553 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.8616, allocations: 31.11 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.8618, allocations: 52.52 kB / 0.9554 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8618, allocations: 0 / 0.9554 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.617e-06/0.8618, allocations: 1.188 kB / 0.9554 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8618, allocations: 0 / 0.9554 GB, free: 6.742 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003312/0.8621, allocations: 328 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8622, allocations: 10.38 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.8623, allocations: 19.75 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.589e-05/0.8624, allocations: 159.1 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.8624, allocations: 6 kB / 0.9559 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.8625, allocations: 1.375 kB / 0.9559 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.8626, allocations: 38.72 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8626, allocations: 1.5 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.8626, allocations: 0 / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8626, allocations: 3.938 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.8627, allocations: 19.16 kB / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.8629, allocations: 164.9 kB / 0.9561 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.863, allocations: 39.27 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.8637, allocations: 1.485 MB / 0.9576 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.8637, allocations: 31.56 kB / 0.9576 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8637, allocations: 0 / 0.9576 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001751/0.8639, allocations: 66.11 kB / 0.9577 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.8639, allocations: 52.72 kB / 0.9577 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.719e-05/0.864, allocations: 89.86 kB / 0.9578 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.864, allocations: 26.98 kB / 0.9578 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.864, allocations: 80.14 kB / 0.9579 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.8641, allocations: 15.19 kB / 0.9579 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.8641, allocations: 1.438 kB / 0.9579 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.8641, allocations: 314.8 kB / 0.9582 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.8642, allocations: 17.42 kB / 0.9582 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.663e-05/0.8642, allocations: 3.25 kB / 0.9583 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.8642, allocations: 10.12 kB / 0.9583 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8642, allocations: 0 / 0.9583 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.495e-05/0.8643, allocations: 57.28 kB / 0.9583 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.8643, allocations: 6.469 kB / 0.9583 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8643, allocations: 0 / 0.9583 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8644, allocations: 1.312 kB / 0.9583 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.8644, allocations: 10.36 kB / 0.9583 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.8644, allocations: 0 / 0.9583 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.8645, allocations: 13.34 kB / 0.9583 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.8645, allocations: 1.562 kB / 0.9583 GB, free: 3.289 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.077e-05/0.8646, allocations: 111 kB / 0.9585 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-06/0.8646, allocations: 1.344 kB / 0.9585 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.8647, allocations: 76.58 kB / 0.9585 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8647, allocations: 3.984 kB / 0.9585 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8647, allocations: 1.219 kB / 0.9585 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8648, allocations: 0 / 0.9585 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.076e-05/0.8648, allocations: 168.8 kB / 0.9587 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8649, allocations: 4 kB / 0.9587 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.8649, allocations: 8.906 kB / 0.9587 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8649, allocations: 7.922 kB / 0.9587 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.8649, allocations: 1.25 kB / 0.9587 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.865, allocations: 0 / 0.9587 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.865, allocations: 0 / 0.9587 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.8651, allocations: 98.48 kB / 0.9588 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.8652, allocations: 78.55 kB / 0.9589 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.8652, allocations: 11.92 kB / 0.9589 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.8652, allocations: 5.312 kB / 0.9589 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.8652, allocations: 2.438 kB / 0.9589 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.8652, allocations: 1.219 kB / 0.9589 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.709e-05/0.8653, allocations: 79.22 kB / 0.959 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8653, allocations: 0 / 0.959 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002409/0.8655, allocations: 28.62 kB / 0.959 GB, free: 2.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (6): * Single equations (assignments): 6 * 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.0002815/0.8658, allocations: 155.7 kB / 0.9592 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.8659, allocations: 24.98 kB / 0.9592 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8659, allocations: 0 / 0.9592 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.866, allocations: 23.06 kB / 0.9592 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.597e-05/0.8661, allocations: 4.984 kB / 0.9592 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.8664, allocations: 130.4 kB / 0.9593 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.8665, allocations: 0.6884 MB / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.8666, allocations: 2.156 kB / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.8666, allocations: 9.625 kB / 0.96 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8666, allocations: 5.031 kB / 0.96 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.003354/0.87, allocations: 0.849 MB / 0.9608 GB, free: 1.207 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,erfint,erfint_num,err Variables in the result:erfint,erfint_num,err,time