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_Integrand.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_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009946, allocations: 100.1 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.001016/0.001016, 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.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.419/2.419, allocations: 390.2 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8243, 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_Integrand): time 0.001348/0.8257, allocations: 1.028 MB / 0.9546 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.8268, allocations: 0.6974 MB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.8268, allocations: 5.062 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.8268, allocations: 3.938 kB / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.8269, allocations: 9.312 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.8273, allocations: 105 kB / 0.9554 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.8274, allocations: 10.36 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.8274, allocations: 1.094 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.8275, allocations: 6.344 kB / 0.9554 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.412e-05/0.8275, allocations: 8.016 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.8275, allocations: 4.969 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.8279, allocations: 182.6 kB / 0.9556 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.8279, allocations: 9.062 kB / 0.9556 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.8279, allocations: 28.23 kB / 0.9556 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.8281, allocations: 76.89 kB / 0.9557 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.8281, allocations: 0 / 0.9557 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8281, allocations: 3.938 kB / 0.9557 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.8281, allocations: 0 / 0.9557 GB, free: 6.527 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000271/0.8284, allocations: 354.6 kB / 0.956 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8284, allocations: 8.125 kB / 0.956 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.8285, allocations: 5.203 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.8285, allocations: 165.2 kB / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.8286, allocations: 0 / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.8286, allocations: 5.406 kB / 0.9562 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.8287, allocations: 37.86 kB / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.8287, allocations: 0 / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.8287, allocations: 0 / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8287, allocations: 0 / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.8287, allocations: 12.45 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.8289, allocations: 152.9 kB / 0.9564 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.8289, allocations: 21.64 kB / 0.9564 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.8294, allocations: 129.1 kB / 0.9565 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.8294, allocations: 35.72 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8294, allocations: 0 / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.8296, allocations: 52.47 kB / 0.9566 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.8296, allocations: 52.88 kB / 0.9567 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.8297, allocations: 103.3 kB / 0.9568 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.8297, allocations: 25.7 kB / 0.9568 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.8297, allocations: 89.17 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.8297, allocations: 9.156 kB / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.8297, allocations: 4 kB / 0.9569 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.8298, allocations: 316 kB / 0.9572 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.8298, allocations: 2.844 kB / 0.9572 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.8298, allocations: 1.562 kB / 0.9572 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.707e-05/0.8298, allocations: 6.562 kB / 0.9572 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8298, allocations: 1.469 kB / 0.9572 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.296e-05/0.8299, allocations: 43.38 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8299, allocations: 5.469 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.8299, allocations: 4.094 kB / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.8299, allocations: 0 / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.83, allocations: 3.781 kB / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.83, allocations: 0 / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.235e-05/0.83, allocations: 0 / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.83, allocations: 1.094 kB / 0.9572 GB, free: 4.805 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 (2): * Single equations (assignments): 2 * 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.191e-05/0.8301, allocations: 116.3 kB / 0.9574 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.8301, allocations: 1 kB / 0.9574 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.8302, allocations: 60.8 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.8302, allocations: 1.406 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8302, allocations: 7.875 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8302, allocations: 0 / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.093e-05/0.8303, allocations: 154.2 kB / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8303, allocations: 0 / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.8303, allocations: 4.25 kB / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8303, allocations: 0 / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.8303, allocations: 5.234 kB / 0.9576 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8303, allocations: 0 / 0.9576 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8303, allocations: 0 / 0.9576 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.309e-05/0.8304, allocations: 75.44 kB / 0.9577 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.8304, allocations: 78.39 kB / 0.9577 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.8305, allocations: 5.047 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.8305, allocations: 0 / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.8305, allocations: 5.156 kB / 0.9577 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.8305, allocations: 1.281 kB / 0.9577 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.167e-05/0.8305, allocations: 79.31 kB / 0.9578 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8305, allocations: 4.031 kB / 0.9578 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002758/0.8308, allocations: 45.14 kB / 0.9579 GB, free: 4.145 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 (2): * Single equations (assignments): 2 * 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.0002911/0.8311, allocations: 160.4 kB / 0.958 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.8312, allocations: 6.719 kB / 0.958 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8312, allocations: 0 / 0.958 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.8312, allocations: 12.64 kB / 0.958 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.8314, allocations: 16.53 kB / 0.958 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.8316, allocations: 115 kB / 0.9582 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.497e-05/0.8317, allocations: 0.6783 MB / 0.9588 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.8317, allocations: 3.5 kB / 0.9588 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.8317, allocations: 9.719 kB / 0.9588 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8318, allocations: 0 / 0.9588 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.003535/0.8353, allocations: 1.21 MB / 0.96 GB, free: 2.59 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches