Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0008088/0.0008088, 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.0008081/0.0008081, allocations: 165.9 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.8416/0.8416, 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.718/1.718, allocations: 389 MB / 0.633 GB, free: 12.7 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.203e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001899/0.001921, allocations: 1.487 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003168, allocations: 0.8566 MB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.003228, allocations: 3.938 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.003401, allocations: 47.7 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.911e-05/0.00342, allocations: 19.78 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.003809, allocations: 198.2 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.003898, allocations: 47.67 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.00394, allocations: 7.938 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.004031, allocations: 27.92 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.004055, allocations: 19.92 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.004068, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.004387, allocations: 175.7 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.004398, allocations: 0 / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.00442, allocations: 11.94 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.004613, allocations: 151.6 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004616, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004617, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004621, allocations: 0 / 1.003 GB, free: 10.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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002657/0.004887, allocations: 297.9 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.004927, allocations: 12.75 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.004967, allocations: 106 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.005014, allocations: 84.22 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.00521, allocations: 212.7 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.005248, allocations: 154.9 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.005288, allocations: 154.9 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.988e-05/0.005338, allocations: 101.5 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.005359, allocations: 79.47 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.005395, allocations: 154.7 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.005429, allocations: 158.5 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.005464, allocations: 154.6 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.005669, allocations: 429 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.005735, allocations: 173.1 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.005761, allocations: 80.14 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.005783, allocations: 75.28 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.005816, allocations: 105.8 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.005817, allocations: 0 / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.303e-05/0.00588, allocations: 41.53 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.00593, allocations: 134.7 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006039, allocations: 131.9 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.006048, allocations: 29.7 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.006086, allocations: 92.14 kB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.006088, allocations: 0 / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.006114, allocations: 17.7 kB / 1.005 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.006192, allocations: 314.8 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.00621, allocations: 4 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.006223, allocations: 8 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.006254, allocations: 16.88 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006257, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.975e-05/0.006356, allocations: 49.59 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.00637, allocations: 7.938 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.006391, allocations: 16 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.006401, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.006402, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006407, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.006423, allocations: 3.984 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.00643, allocations: 4 kB / 1.006 GB, free: 6.887 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.571e-05/0.006495, allocations: 185.1 kB / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.00653, allocations: 108.9 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.479e-05/0.006565, allocations: 120.6 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/0.006603, allocations: 180.2 kB / 1.006 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/0.00664, allocations: 184.3 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/0.006677, allocations: 188.2 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.00681, allocations: 380.3 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.006832, allocations: 104.9 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.006854, allocations: 105 kB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.431e-05/0.006898, allocations: 184.3 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.006935, allocations: 184.1 kB / 1.008 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-05/0.006968, allocations: 176.3 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.024e-05/0.007009, allocations: 184.2 kB / 1.008 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.007148, allocations: 307.7 kB / 1.008 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.00718, allocations: 116.9 kB / 1.008 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.007225, allocations: 184.2 kB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.007272, allocations: 109.2 kB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.007314, allocations: 180.2 kB / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.007336, allocations: 104.9 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.007392, allocations: 105.1 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007392, allocations: 0 / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001927/0.007585, allocations: 31.88 kB / 1.009 GB, free: 3.34 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.0003852/0.00797, allocations: 0.8594 MB / 1.01 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.008056, allocations: 33.64 kB / 1.01 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008057, allocations: 8 kB / 1.01 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.008059, allocations: 4 kB / 1.01 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.008365, allocations: 463.7 kB / 1.01 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.009256, allocations: 1.464 MB / 1.012 GB, free: 408 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/0.009323, allocations: 63.34 kB / 1.012 GB, free: 324 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.009344, allocations: 4.031 kB / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.009375, allocations: 24.48 kB / 1.012 GB, free: 296 kB / 0.9636 GB Notification: Performance of SimCode: time 1.322e-06/0.009376, allocations: 0 / 1.012 GB, free: 296 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.0272, allocations: 3.444 MB / 1.015 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/6.591, allocations: 2.344 kB / 1.015 GB, free: 13.03 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_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_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.61118997912854]