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_Length.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007847/0.007847, allocations: 98.39 kB / 15.73 MB, free: 5.535 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.001891/0.001891, allocations: 185 kB / 16.67 MB, free: 5.473 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.173/2.173, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 0.9505 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7551, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002531/0.7577, allocations: 1.355 MB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.7591, allocations: 0.7976 MB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.7591, allocations: 0 / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.7592, allocations: 1.984 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.7592, allocations: 5.766 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.7599, allocations: 170.3 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.76, allocations: 47.94 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.7601, allocations: 6.5 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.7601, allocations: 25.84 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.7602, allocations: 34.62 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.7602, allocations: 2.875 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.7606, allocations: 174.5 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.7607, allocations: 7.984 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.7607, allocations: 17.95 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.761, allocations: 151 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.761, allocations: 0 / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.761, allocations: 0 / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.761, allocations: 1.062 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003737/0.7614, allocations: 363.3 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7615, allocations: 10.22 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.7615, allocations: 36.36 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.7615, allocations: 7.062 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.7616, allocations: 168.3 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.7616, allocations: 2.531 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.7617, allocations: 5.484 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.7618, allocations: 58.45 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7618, allocations: 0 / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.7618, allocations: 5.188 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7618, allocations: 4 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.7619, allocations: 53.06 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.7621, allocations: 165.5 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.551e-05/0.7622, allocations: 48.12 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.7622, allocations: 22.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.7623, allocations: 5.891 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.7623, allocations: 40.27 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.7623, allocations: 0 / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002273/0.7625, allocations: 90.42 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.7626, allocations: 52.41 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.7626, allocations: 105.8 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.7626, allocations: 30.55 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.7627, allocations: 81.69 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.7627, allocations: 24.45 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.7627, allocations: 23.09 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.7628, allocations: 318.1 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.7628, allocations: 17.78 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.7629, allocations: 10.58 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.763, allocations: 39.98 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.763, allocations: 0 / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001364/0.7631, allocations: 72.94 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7631, allocations: 5.375 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7631, allocations: 0.6094 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7632, allocations: 0.7188 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.7633, allocations: 18 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.7633, allocations: 0.75 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.7633, allocations: 5.672 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.7633, allocations: 3.641 kB / 1.092 GB, free: 1.82 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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.952e-05/0.7634, allocations: 108.7 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.7634, allocations: 10.19 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.7638, allocations: 213.3 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7638, allocations: 1.719 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7639, allocations: 0.7969 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7639, allocations: 1.344 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.764, allocations: 194.5 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.764, allocations: 3.938 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7641, allocations: 31.59 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7641, allocations: 9.328 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7641, allocations: 3.438 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.7641, allocations: 1.391 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7642, allocations: 3.984 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.7644, allocations: 144.5 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.7644, allocations: 93.14 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7644, allocations: 0.9688 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.7645, allocations: 4.938 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.7645, allocations: 14.64 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.7645, allocations: 5.234 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.7645, allocations: 86.91 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7645, allocations: 0 / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000314/0.7649, allocations: 52.28 kB / 1.093 GB, free: 1.098 MB / 0.8575 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 (16): * Single equations (assignments): 16 * 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.000589/0.7655, allocations: 0.7575 MB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.7656, allocations: 63.91 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7656, allocations: 0 / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.7657, allocations: 49.11 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.766, allocations: 16.88 kB / 1.094 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.7665, allocations: 237.9 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.7668, allocations: 0.6961 MB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.7668, allocations: 24.8 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.7669, allocations: 30.22 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.7669, allocations: 0 / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.7874, allocations: 3.292 MB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.865, allocations: 11.84 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches