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.0009238/0.0009238, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009728/0.0009728, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9204/0.9204, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.71/1.71, allocations: 359 MB / 0.6063 GB, free: 10.89 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.152e-06/1.152e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.649e-05, allocations: 3.188 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001813/0.001829, allocations: 1.544 MB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002902, allocations: 0.9032 MB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.002964, allocations: 7.875 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.003134, allocations: 39.81 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.22e-05/0.003156, allocations: 17.03 kB / 0.7908 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.003518, allocations: 195.5 kB / 0.791 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.003603, allocations: 55.66 kB / 0.791 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.003637, allocations: 4 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.003719, allocations: 23.92 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.003741, allocations: 19.92 kB / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.003751, allocations: 0 / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.004039, allocations: 169.5 kB / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.004051, allocations: 4 kB / 0.7912 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.004067, allocations: 11.94 kB / 0.7912 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004238, allocations: 155.5 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.00424, allocations: 0.5938 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004241, allocations: 0.7188 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.004244, allocations: 0 / 0.7914 GB, free: 9.059 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.0002595/0.004503, allocations: 396.7 kB / 0.7918 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004533, allocations: 12.02 kB / 0.7918 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.004581, allocations: 129.7 kB / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.004729, allocations: 255.7 kB / 0.7922 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.004781, allocations: 238.8 kB / 0.7924 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.004829, allocations: 239.3 kB / 0.7926 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.461e-05/0.004883, allocations: 149.5 kB / 0.7928 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.00491, allocations: 124.1 kB / 0.7929 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.004958, allocations: 238.8 kB / 0.7931 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.005009, allocations: 243.5 kB / 0.7933 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.00506, allocations: 246.3 kB / 0.7936 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.005259, allocations: 0.5608 MB / 0.7941 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.005337, allocations: 266.8 kB / 0.7944 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.005366, allocations: 126.9 kB / 0.7945 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.005393, allocations: 119.2 kB / 0.7946 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.005436, allocations: 160.5 kB / 0.7948 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.005437, allocations: 5.75 kB / 0.7948 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.137e-05/0.005488, allocations: 29.69 kB / 0.7948 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.005541, allocations: 170.6 kB / 0.7949 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.005653, allocations: 207.4 kB / 0.7951 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.005662, allocations: 26.92 kB / 0.7952 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.005708, allocations: 134.9 kB / 0.7953 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-06/0.005709, allocations: 4 kB / 0.7953 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.005734, allocations: 28.67 kB / 0.7953 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.005843, allocations: 496.1 kB / 0.7958 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.005854, allocations: 4 kB / 0.7958 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.005861, allocations: 0 / 0.7958 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.005889, allocations: 25.2 kB / 0.7958 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00589, allocations: 0 / 0.7958 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.656e-05/0.005967, allocations: 41.66 kB / 0.7959 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.00598, allocations: 8 kB / 0.7959 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.005992, allocations: 2.688 kB / 0.7959 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.006, allocations: 0 / 0.7959 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-06/0.006003, allocations: 3.984 kB / 0.7959 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.006005, allocations: 0 / 0.7959 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.006021, allocations: 7.938 kB / 0.7959 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.006026, allocations: 4 kB / 0.7959 GB, free: 4.25 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 7.933e-05/0.006106, allocations: 271.8 kB / 0.7962 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.006154, allocations: 161.3 kB / 0.7963 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.006199, allocations: 157.3 kB / 0.7965 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.006257, allocations: 273.9 kB / 0.7967 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.698e-05/0.006314, allocations: 264.1 kB / 0.797 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/0.006372, allocations: 272 kB / 0.7972 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.006539, allocations: 492.4 kB / 0.7977 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/0.006574, allocations: 148.9 kB / 0.7978 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.006612, allocations: 148.8 kB / 0.798 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.529e-05/0.006677, allocations: 266.7 kB / 0.7982 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.006737, allocations: 268.1 kB / 0.7985 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.819e-05/0.006795, allocations: 272 kB / 0.7988 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-05/0.00685, allocations: 264.1 kB / 0.799 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006968, allocations: 455.9 kB / 0.7994 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.007006, allocations: 153.1 kB / 0.7996 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.00707, allocations: 276.5 kB / 0.7999 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.007131, allocations: 144.9 kB / 0.8 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.007188, allocations: 272.9 kB / 0.8003 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.007219, allocations: 144.9 kB / 0.8004 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.007262, allocations: 146 kB / 0.8005 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.007262, allocations: 0 / 0.8005 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001978/0.00746, allocations: 37.16 kB / 0.8006 GB, free: 15.29 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.000189/0.007649, allocations: 266.3 kB / 0.8008 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.891e-05/0.007718, allocations: 50.09 kB / 0.8009 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007719, allocations: 3.938 kB / 0.8009 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.00772, allocations: 0.9688 kB / 0.8009 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.00804, allocations: 0.7205 MB / 0.8016 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.008267, allocations: 274.3 kB / 0.8018 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.008296, allocations: 59.34 kB / 0.8019 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.008313, allocations: 5.219 kB / 0.8019 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.008363, allocations: 82.19 kB / 0.802 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/0.008365, allocations: 1.906 kB / 0.802 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of Templates: time 0.003036/0.0114, allocations: 1.815 MB / 0.8038 GB, free: 11.98 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.6521316189318895]