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.00144/0.00144, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001586/0.001586, allocations: 168.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.624/1.624, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.996/2.996, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.799e-06, allocations: 3.984 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/4.092e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002951/0.002992, allocations: 1.486 MB / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004572, allocations: 0.8609 MB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.004641, allocations: 4 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.00485, allocations: 35.77 kB / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.00489, allocations: 27.78 kB / 1.003 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.005479, allocations: 195 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.005628, allocations: 51.67 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.005675, allocations: 0 / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.005819, allocations: 27.91 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.005859, allocations: 11.94 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.00588, allocations: 0 / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005618/0.006442, allocations: 175.7 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.006469, allocations: 8 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.006503, allocations: 7.938 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.00689, allocations: 163.5 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.006896, allocations: 0 / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.006897, allocations: 0 / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.006904, allocations: 0 / 1.003 GB, free: 4.227 MB / 0.9512 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.0005971/0.007501, allocations: 301.8 kB / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.007556, allocations: 12.03 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.007658, allocations: 76.22 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.008046, allocations: 215.4 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.008153, allocations: 150.9 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.008266, allocations: 150.9 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.008373, allocations: 113.5 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/0.008431, allocations: 75.47 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.008511, allocations: 150.9 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-05/0.008611, allocations: 154.5 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.008706, allocations: 154.5 kB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.009068, allocations: 417.5 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.009207, allocations: 165.1 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.00926, allocations: 80.14 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.009329, allocations: 79.28 kB / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.979e-05/0.009409, allocations: 113.8 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.00941, allocations: 0 / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.000108/0.009518, allocations: 41.59 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.009619, allocations: 130.6 kB / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.009817, allocations: 133.7 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.009838, allocations: 25.7 kB / 1.006 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.00991, allocations: 88.14 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.009913, allocations: 0 / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.009956, allocations: 21.7 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01014, allocations: 314.8 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.01016, allocations: 4 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.01018, allocations: 7.984 kB / 1.006 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.01022, allocations: 20.83 kB / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01023, allocations: 0 / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.01036, allocations: 49.66 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01037, allocations: 7.938 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.0104, allocations: 3.984 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01041, allocations: 0 / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-06/0.01042, allocations: 3.938 kB / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.01042, allocations: 8 kB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.01045, allocations: 3.938 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.01046, allocations: 0 / 1.006 GB, free: 0.8398 MB / 0.9512 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 0.0001398/0.0106, allocations: 185.2 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.01068, allocations: 116.9 kB / 1.007 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.01077, allocations: 112.8 kB / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/0.01087, allocations: 176.3 kB / 1.007 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.01097, allocations: 192.1 kB / 1.007 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/0.01109, allocations: 176.3 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.01139, allocations: 364.8 kB / 1.008 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.753e-05/0.01145, allocations: 109 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.01151, allocations: 105 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.01161, allocations: 180.2 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.0117, allocations: 176.3 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001045/0.0118, allocations: 188.2 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001002/0.0119, allocations: 176.3 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.01209, allocations: 319.6 kB / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.01216, allocations: 101 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.01226, allocations: 184.2 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01236, allocations: 108.9 kB / 1.009 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.01246, allocations: 184.2 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.01251, allocations: 117.3 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.912e-05/0.01259, allocations: 97.45 kB / 1.009 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.01259, allocations: 0 / 1.009 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003069/0.0129, allocations: 39.86 kB / 1.01 GB, free: 13.32 MB / 0.9669 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.0003714/0.01327, allocations: 226.3 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.01338, allocations: 37.69 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.01338, allocations: 0 / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-06/0.01339, allocations: 3.938 kB / 1.01 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.01394, allocations: 467.6 kB / 1.01 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.01431, allocations: 220 kB / 1.01 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.14e-05/0.01439, allocations: 67.41 kB / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.01441, allocations: 0 / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.01443, allocations: 12.5 kB / 1.01 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.01443, allocations: 0 / 1.01 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.004979/0.01941, allocations: 1.596 MB / 1.012 GB, free: 10.7 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71079621836543]