Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.002038/0.002038, allocations: 78.41 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.002631/0.002631, allocations: 170.6 kB / 22.46 MB, free: 5.359 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.94/2.94, allocations: 389 MB / 0.633 GB, free: 1.004 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.055e-05, allocations: 10.16 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004821/0.004852, allocations: 2.872 MB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003322/0.008174, allocations: 1.954 MB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.008392, allocations: 8 kB / 1.005 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.009945, allocations: 477.6 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.01024, allocations: 150.7 kB / 1.006 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.01038, allocations: 63.92 kB / 1.006 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.01092, allocations: 457.6 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.01117, allocations: 111.8 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.01157, allocations: 243.4 kB / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.01182, allocations: 135.5 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.01188, allocations: 36 kB / 1.007 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.01195, allocations: 40 kB / 1.007 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.01209, allocations: 95.67 kB / 1.007 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.01228, allocations: 139.6 kB / 1.007 GB, free: 456 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.01292, allocations: 0.5373 MB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.01293, allocations: 4 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01293, allocations: 0 / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.01294, allocations: 0 / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001137/0.01407, allocations: 0.6291 MB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.01411, allocations: 8.031 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.0142, allocations: 48.66 kB / 1.008 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.01479, allocations: 319.8 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.01481, allocations: 12.88 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.01487, allocations: 24.38 kB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.01535, allocations: 204.7 kB / 1.009 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.01537, allocations: 192 / 1.009 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.01539, allocations: 4.375 kB / 1.009 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.01541, allocations: 11.94 kB / 1.009 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.01585, allocations: 169.8 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01708, allocations: 0.644 MB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.01745, allocations: 146.5 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.01769, allocations: 100.8 kB / 1.01 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.01771, allocations: 0 / 1.01 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.01776, allocations: 34.56 kB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.01776, allocations: 0 / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0007041/0.01846, allocations: 255.8 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.01853, allocations: 55.41 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.01906, allocations: 393.7 kB / 1.01 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.01908, allocations: 29.7 kB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.01928, allocations: 208.4 kB / 1.01 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.01937, allocations: 63.44 kB / 1.011 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.01944, allocations: 29.72 kB / 1.011 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.01966, allocations: 346.7 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.01982, allocations: 59.97 kB / 1.011 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.01999, allocations: 55.97 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.02032, allocations: 138.5 kB / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.02032, allocations: 0 / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004335/0.02075, allocations: 207.8 kB / 1.011 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.02077, allocations: 8 kB / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.02078, allocations: 0 / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.02079, allocations: 0 / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.02108, allocations: 59.89 kB / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.02109, allocations: 4 kB / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.02123, allocations: 19.83 kB / 1.011 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.02124, allocations: 4 kB / 1.011 GB, free: 11.5 MB / 0.9669 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001754/0.02141, allocations: 162.4 kB / 1.012 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.02149, allocations: 35.77 kB / 1.012 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/0.02156, allocations: 39.41 kB / 1.012 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.02157, allocations: 4 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.02157, allocations: 0 / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02158, allocations: 7.984 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.02195, allocations: 277 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.02196, allocations: 0 / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.02222, allocations: 59.84 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.02223, allocations: 3.984 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.02225, allocations: 4 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.02226, allocations: 4 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02226, allocations: 0 / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.02294, allocations: 376.8 kB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.02301, allocations: 39.83 kB / 1.012 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.02306, allocations: 7.938 kB / 1.012 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.02322, allocations: 11.98 kB / 1.012 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.02329, allocations: 11.92 kB / 1.012 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.0233, allocations: 8 kB / 1.012 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003841/0.02368, allocations: 283.2 kB / 1.013 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02368, allocations: 0 / 1.013 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003258/0.02401, allocations: 75.84 kB / 1.013 GB, free: 10.07 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001885/0.0242, allocations: 119.2 kB / 1.013 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.02461, allocations: 135.9 kB / 1.013 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.02461, allocations: 0 / 1.013 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.02479, allocations: 71.89 kB / 1.013 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.02536, allocations: 85.42 kB / 1.013 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.02662, allocations: 0.6746 MB / 1.014 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.02684, allocations: 190.2 kB / 1.014 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.02695, allocations: 30.97 kB / 1.014 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.02702, allocations: 24.5 kB / 1.014 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.02702, allocations: 0 / 1.014 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of Templates: time 0.009142/0.03616, allocations: 3.649 MB / 1.018 GB, free: 5.156 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.688524141907692]