Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009657/0.0009657, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001076/0.001076, allocations: 169.3 kB / 23.82 MB, free: 0.7422 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.9159/0.9159, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.961e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002698/0.002728, allocations: 1.551 MB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.004099, allocations: 0.9198 MB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.004168, allocations: 0 / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.004394, allocations: 39.83 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.484e-05/0.004418, allocations: 23.78 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.004797, allocations: 186.9 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.004887, allocations: 51.66 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.004921, allocations: 7.984 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.005, allocations: 31.86 kB / 0.7899 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.25e-05/0.005023, allocations: 13.69 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.005035, allocations: 0 / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.005339, allocations: 167.8 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.00535, allocations: 3.938 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.005372, allocations: 17.06 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.005561, allocations: 159.4 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005564, allocations: 0 / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005565, allocations: 1.938 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.00557, allocations: 0 / 0.7902 GB, free: 9.309 MB / 0.7448 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.000288/0.005858, allocations: 392.2 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.005892, allocations: 8.031 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.005949, allocations: 128.1 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.006118, allocations: 260.2 kB / 0.7909 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.006177, allocations: 238.8 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.006371, allocations: 242.8 kB / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.631e-05/0.006427, allocations: 145.5 kB / 0.7915 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.006452, allocations: 119.4 kB / 0.7917 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.006502, allocations: 246.7 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.006552, allocations: 243 kB / 0.7921 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.006603, allocations: 242.4 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.006821, allocations: 0.5803 MB / 0.7929 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.532e-05/0.006906, allocations: 267.1 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.006937, allocations: 126.9 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.006962, allocations: 123.1 kB / 0.7934 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.007005, allocations: 156.6 kB / 0.7936 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.007006, allocations: 0 / 0.7936 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.837e-05/0.007064, allocations: 34.36 kB / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.007118, allocations: 175.5 kB / 0.7938 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.007241, allocations: 203.8 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.007249, allocations: 25.7 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.007295, allocations: 140 kB / 0.7941 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.007297, allocations: 0 / 0.7941 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.007323, allocations: 23.38 kB / 0.7941 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.007431, allocations: 0.4897 MB / 0.7946 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.007445, allocations: 7.938 kB / 0.7946 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.007456, allocations: 3.938 kB / 0.7946 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.007488, allocations: 15.72 kB / 0.7946 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00749, allocations: 4.844 kB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/0.007591, allocations: 45.64 kB / 0.7947 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.007601, allocations: 8.844 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.007617, allocations: 0 / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.007629, allocations: 1.281 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-06/0.007633, allocations: 4 kB / 0.7947 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007638, allocations: 7.938 kB / 0.7947 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.007652, allocations: 0.8438 kB / 0.7947 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007658, allocations: 0 / 0.7947 GB, free: 4.477 MB / 0.7448 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.208e-05/0.00774, allocations: 280.8 kB / 0.795 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.007784, allocations: 148.8 kB / 0.7951 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.007834, allocations: 160.7 kB / 0.7953 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/0.007892, allocations: 273.4 kB / 0.7955 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.615e-05/0.007948, allocations: 272 kB / 0.7958 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/0.007999, allocations: 268 kB / 0.7961 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.008163, allocations: 0.5012 MB / 0.7965 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/0.008195, allocations: 144.9 kB / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.008226, allocations: 152.8 kB / 0.7968 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.555e-05/0.008282, allocations: 264.1 kB / 0.7971 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.008335, allocations: 271 kB / 0.7973 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.845e-05/0.008393, allocations: 268.1 kB / 0.7976 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-05/0.008443, allocations: 268.1 kB / 0.7979 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.008567, allocations: 455.9 kB / 0.7983 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.008605, allocations: 149.1 kB / 0.7984 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.0088, allocations: 276.1 kB / 0.7987 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.008849, allocations: 144.9 kB / 0.7988 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.008913, allocations: 276 kB / 0.7991 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.008941, allocations: 149.3 kB / 0.7992 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.008991, allocations: 140.5 kB / 0.7994 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.008991, allocations: 0 / 0.7994 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001968/0.009188, allocations: 39.86 kB / 0.7994 GB, free: 15.48 MB / 0.7605 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.0002282/0.009416, allocations: 271.3 kB / 0.7997 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 8.818e-05/0.009505, allocations: 45.33 kB / 0.7997 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009506, allocations: 0.6562 kB / 0.7997 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.009508, allocations: 0 / 0.7997 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.009847, allocations: 0.7191 MB / 0.8004 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.01012, allocations: 267.4 kB / 0.8007 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.01015, allocations: 59.3 kB / 0.8007 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.01017, allocations: 10.02 kB / 0.8007 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.01018, allocations: 12.5 kB / 0.8007 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.01018, allocations: 0 / 0.8007 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of Templates: time 0.003467/0.01365, allocations: 1.824 MB / 0.8025 GB, free: 12.25 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.540667897090316]