Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007771/0.0007771, 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.0008375/0.0008375, 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.8446/0.8446, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.026e-05, allocations: 6.219 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002585/0.002605, allocations: 1.492 MB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003944, allocations: 0.8604 MB / 0.9833 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.004019, allocations: 7.938 kB / 0.9833 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.004231, allocations: 43.72 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.004265, allocations: 19.78 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.004786, allocations: 197.2 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.004888, allocations: 47.67 kB / 0.9836 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.004936, allocations: 4 kB / 0.9836 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.005036, allocations: 35.89 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.75e-05/0.005064, allocations: 4 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.005078, allocations: 4 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.005476, allocations: 171.7 kB / 0.9838 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.00549, allocations: 3.938 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.005513, allocations: 12 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.005754, allocations: 155.5 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005758, allocations: 7.984 kB / 0.984 GB, free: 15.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005759, allocations: 0 / 0.984 GB, free: 15.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.005762, allocations: 0 / 0.984 GB, free: 15.53 MB / 0.948 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.0003191/0.006081, allocations: 289.9 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.006125, allocations: 8.031 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.006176, allocations: 106 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.006246, allocations: 84.17 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.006467, allocations: 201 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.006528, allocations: 162.9 kB / 0.9848 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.006586, allocations: 154.9 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.711e-05/0.006653, allocations: 105.5 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.006685, allocations: 75.47 kB / 0.9851 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.006734, allocations: 158.7 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.006779, allocations: 154.6 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.006832, allocations: 150.6 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.007119, allocations: 436.9 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.007203, allocations: 173.1 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.007235, allocations: 84.08 kB / 0.9862 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.007263, allocations: 79.28 kB / 0.9863 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.007309, allocations: 109.8 kB / 0.9864 GB, free: 12.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.00731, allocations: 0 / 0.9864 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.909e-05/0.007389, allocations: 33.64 kB / 0.9864 GB, free: 12.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.007451, allocations: 126.7 kB / 0.9865 GB, free: 12.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.00759, allocations: 140.6 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.007601, allocations: 25.7 kB / 0.9867 GB, free: 12.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.007655, allocations: 92.14 kB / 0.9868 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.007658, allocations: 0 / 0.9868 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.007697, allocations: 17.7 kB / 0.9868 GB, free: 12.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007805, allocations: 318.8 kB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.007827, allocations: 8 kB / 0.9871 GB, free: 12.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.007842, allocations: 11.98 kB / 0.9871 GB, free: 12.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.007876, allocations: 8.859 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007878, allocations: 0 / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001212/0.008, allocations: 41.7 kB / 0.9872 GB, free: 12.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.008013, allocations: 4 kB / 0.9872 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.008034, allocations: 11.92 kB / 0.9872 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.008046, allocations: 0 / 0.9872 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.008047, allocations: 0 / 0.9872 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.008051, allocations: 0 / 0.9872 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.008075, allocations: 4.016 kB / 0.9872 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.008084, allocations: 11.94 kB / 0.9872 GB, free: 12.01 MB / 0.948 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 8.996e-05/0.008174, allocations: 185.7 kB / 0.9874 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.008235, allocations: 108.9 kB / 0.9875 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.008283, allocations: 120.8 kB / 0.9876 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.00834, allocations: 180.2 kB / 0.9878 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-05/0.008398, allocations: 180.3 kB / 0.9879 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.955e-05/0.008458, allocations: 188.2 kB / 0.9881 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.008677, allocations: 380.3 kB / 0.9885 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.008715, allocations: 105 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.00875, allocations: 104.9 kB / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.676e-05/0.008807, allocations: 184.3 kB / 0.9888 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.008863, allocations: 192.1 kB / 0.989 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-05/0.008912, allocations: 176.3 kB / 0.9892 GB, free: 9.824 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.116e-05/0.008963, allocations: 184.2 kB / 0.9894 GB, free: 9.637 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.009078, allocations: 299.8 kB / 0.9897 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.009126, allocations: 116.9 kB / 0.9898 GB, free: 9.199 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.009194, allocations: 188.2 kB / 0.9899 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.00928, allocations: 105.3 kB / 0.99 GB, free: 8.898 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.009343, allocations: 180.2 kB / 0.9902 GB, free: 8.715 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.009377, allocations: 108.9 kB / 0.9903 GB, free: 8.602 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.00944, allocations: 113.5 kB / 0.9904 GB, free: 8.492 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.00944, allocations: 0 / 0.9904 GB, free: 8.492 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003273/0.009768, allocations: 35.86 kB / 0.9905 GB, free: 8.457 MB / 0.948 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.0005138/0.01028, allocations: 0.8632 MB / 0.9913 GB, free: 7.562 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.01037, allocations: 37.64 kB / 0.9913 GB, free: 7.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01037, allocations: 0 / 0.9913 GB, free: 7.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.01038, allocations: 0 / 0.9913 GB, free: 7.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.01083, allocations: 467.6 kB / 0.9918 GB, free: 7.059 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.01201, allocations: 1.463 MB / 0.9932 GB, free: 5.512 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.01207, allocations: 63.69 kB / 0.9933 GB, free: 5.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.01209, allocations: 11.94 kB / 0.9933 GB, free: 5.418 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.01212, allocations: 16.48 kB / 0.9933 GB, free: 5.402 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.01212, allocations: 0 / 0.9933 GB, free: 5.402 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.03175, allocations: 3.446 MB / 0.9967 GB, free: 2.129 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.269, allocations: 11.8 kB / 0.9967 GB, free: 2.125 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.289198733866215]