Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9707/0.9707, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.797/1.797, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.465e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001223/0.001248, allocations: 0.5521 MB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002447, allocations: 1.039 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.002471, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.002489, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006649/0.003154, allocations: 127.7 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.207e-05/0.003186, allocations: 11.98 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.003248, allocations: 11.94 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.003295, allocations: 3.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.003334, allocations: 7.984 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.003537, allocations: 43.95 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003551, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.003728, allocations: 111.7 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.003749, allocations: 3.938 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.003767, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.00394, allocations: 119.8 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.003943, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003944, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.003949, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 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.0003163/0.004265, allocations: 260.5 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.004314, allocations: 9.344 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.00435, allocations: 34.75 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.004377, allocations: 4.938 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.004469, allocations: 109.8 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.004483, allocations: 384 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.004491, allocations: 384 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.472e-05/0.004586, allocations: 34.19 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.004595, allocations: 4.188 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.004605, allocations: 11.88 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004611, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.00463, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.004985, allocations: 362.6 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.005058, allocations: 173.1 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.005086, allocations: 84.08 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.005107, allocations: 75.28 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.005142, allocations: 109.8 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.005143, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.404e-05/0.005207, allocations: 29.69 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.005256, allocations: 130.7 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.005348, allocations: 101.9 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.005358, allocations: 25.7 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.005389, allocations: 84.12 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.005392, allocations: 0 / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.00542, allocations: 17.7 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.005505, allocations: 314.8 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.005517, allocations: 7.938 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.005523, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.005548, allocations: 4.859 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.005549, allocations: 4.062 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.777e-05/0.005647, allocations: 37.64 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.005664, allocations: 11.92 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.00567, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.005683, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.038e-05/0.005704, allocations: 8 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.005711, allocations: 0 / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.005722, allocations: 3.953 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.005729, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 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 7.782e-05/0.005807, allocations: 193.1 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.005844, allocations: 108.9 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.005883, allocations: 108.2 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/0.005929, allocations: 188.2 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-05/0.005974, allocations: 176.3 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.353e-05/0.006018, allocations: 180.2 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.006163, allocations: 380.2 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/0.00619, allocations: 104.9 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.006218, allocations: 108.9 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-05/0.00626, allocations: 176.3 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.006306, allocations: 180.2 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-05/0.006361, allocations: 196.3 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.472e-05/0.006406, allocations: 176.3 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/0.006505, allocations: 303.9 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.006538, allocations: 108.9 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.006596, allocations: 188.2 kB / 1.006 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.006643, allocations: 101 kB / 1.006 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.006697, allocations: 184.2 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.006722, allocations: 101 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.00676, allocations: 83.27 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00676, allocations: 0 / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001903/0.00695, allocations: 31.88 kB / 1.007 GB, free: 5.703 MB / 0.9636 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.00057/0.00752, allocations: 0.8819 MB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.321e-05/0.007593, allocations: 4 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.007596, allocations: 4 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.007597, allocations: 0 / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.007856, allocations: 458.7 kB / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.008422, allocations: 261.6 kB / 1.008 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.008466, allocations: 59.34 kB / 1.008 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.008499, allocations: 4 kB / 1.008 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.008537, allocations: 12.5 kB / 1.008 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of SimCode: time 9.42e-07/0.008538, allocations: 0 / 1.008 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.04042, allocations: 2.318 MB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/7.793, allocations: 4.047 kB / 1.011 GB, free: 1.824 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv: Error: Error opening file: Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmp Variables in the result: [Calling sys.exit(0), Time elapsed: 12.280518139712512]