Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001595/0.001595, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.00178/0.00178, allocations: 163.8 kB / 23.02 MB, free: 4.941 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.933/2.933, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 71.88 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.836, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002185/0.8382, allocations: 1.441 MB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.8418, allocations: 2.639 MB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.8419, allocations: 0 / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.8419, allocations: 5.391 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.842, allocations: 16.17 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.8456, allocations: 1.612 MB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.8456, allocations: 41.2 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.8457, allocations: 6.703 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.8457, allocations: 16.98 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 2.83e-05/0.8457, allocations: 21.02 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.8457, allocations: 1.219 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.848, allocations: 1.448 MB / 1.194 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.8481, allocations: 2.859 kB / 1.194 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.8481, allocations: 18.8 kB / 1.194 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.8497, allocations: 1.071 MB / 1.195 GB, free: 12.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8497, allocations: 0 / 1.195 GB, free: 12.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8497, allocations: 1.281 kB / 1.195 GB, free: 12.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8497, allocations: 4.797 kB / 1.195 GB, free: 12.06 MB / 1.076 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.0005081/0.8502, allocations: 472.4 kB / 1.195 GB, free: 11.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.8503, allocations: 10.2 kB / 1.195 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.8503, allocations: 78.69 kB / 1.195 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.8504, allocations: 192.8 kB / 1.196 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.8504, allocations: 155.5 kB / 1.196 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.8504, allocations: 157.2 kB / 1.196 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.288e-05/0.8504, allocations: 105.8 kB / 1.196 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8505, allocations: 76.38 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.8505, allocations: 151.7 kB / 1.196 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.8505, allocations: 151.1 kB / 1.196 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.8505, allocations: 155.8 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.8507, allocations: 416 kB / 1.197 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.8507, allocations: 172 kB / 1.197 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.8507, allocations: 84.14 kB / 1.197 GB, free: 9.742 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.8507, allocations: 76.34 kB / 1.197 GB, free: 9.668 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.8508, allocations: 112.8 kB / 1.197 GB, free: 9.551 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.8508, allocations: 0 / 1.197 GB, free: 9.551 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.02e-05/0.8508, allocations: 32.62 kB / 1.197 GB, free: 9.516 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.8508, allocations: 135.8 kB / 1.197 GB, free: 9.371 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.8509, allocations: 138.1 kB / 1.198 GB, free: 9.258 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.8509, allocations: 29.7 kB / 1.198 GB, free: 9.223 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.851, allocations: 92.62 kB / 1.198 GB, free: 9.133 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.851, allocations: 0 / 1.198 GB, free: 9.133 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.851, allocations: 15.75 kB / 1.198 GB, free: 9.117 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.851, allocations: 319.8 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.8511, allocations: 2.531 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.8511, allocations: 7.953 kB / 1.198 GB, free: 8.797 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.8511, allocations: 10.28 kB / 1.198 GB, free: 8.789 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8511, allocations: 1.062 kB / 1.198 GB, free: 8.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001051/0.8512, allocations: 49.12 kB / 1.198 GB, free: 8.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.8512, allocations: 9.312 kB / 1.198 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.8512, allocations: 8.422 kB / 1.198 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8513, allocations: 0 / 1.198 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.8513, allocations: 0 / 1.198 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8513, allocations: 1.859 kB / 1.198 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.8513, allocations: 5.109 kB / 1.198 GB, free: 8.738 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.8513, allocations: 1.281 kB / 1.198 GB, free: 8.738 MB / 1.076 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 4.437e-05/0.8513, allocations: 183.2 kB / 1.198 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.8514, allocations: 113.6 kB / 1.198 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.8514, allocations: 116 kB / 1.199 GB, free: 8.316 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.8514, allocations: 178.8 kB / 1.199 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.8514, allocations: 186.6 kB / 1.199 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.8515, allocations: 181.5 kB / 1.199 GB, free: 7.766 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.8516, allocations: 365.4 kB / 1.199 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.8516, allocations: 106.6 kB / 1.199 GB, free: 7.273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.8516, allocations: 106.6 kB / 1.2 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/0.8516, allocations: 179 kB / 1.2 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.8516, allocations: 185.9 kB / 1.2 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.8516, allocations: 178.6 kB / 1.2 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.967e-05/0.8517, allocations: 181.9 kB / 1.2 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.8517, allocations: 313.3 kB / 1.201 GB, free: 6.113 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.8517, allocations: 107.8 kB / 1.201 GB, free: 6.004 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.8518, allocations: 187 kB / 1.201 GB, free: 5.816 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.8518, allocations: 110.7 kB / 1.201 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.8519, allocations: 178 kB / 1.201 GB, free: 5.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.8519, allocations: 110.6 kB / 1.201 GB, free: 5.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.8519, allocations: 96.89 kB / 1.201 GB, free: 5.332 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8519, allocations: 1.594 kB / 1.201 GB, free: 5.332 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007035/0.8526, allocations: 293.1 kB / 1.202 GB, free: 5.254 MB / 1.076 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.0009047/0.8535, allocations: 0.5316 MB / 1.202 GB, free: 4.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.8536, allocations: 49.98 kB / 1.202 GB, free: 4.934 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8536, allocations: 0 / 1.202 GB, free: 4.934 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.8536, allocations: 1.734 kB / 1.202 GB, free: 4.934 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.8539, allocations: 462.8 kB / 1.203 GB, free: 4.484 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.8541, allocations: 237.3 kB / 1.203 GB, free: 4.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.8542, allocations: 71.08 kB / 1.203 GB, free: 4.195 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.059e-05/0.8542, allocations: 0 / 1.203 GB, free: 4.195 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.034e-05/0.8542, allocations: 10.75 kB / 1.203 GB, free: 4.188 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.8542, allocations: 0 / 1.203 GB, free: 4.188 MB / 1.076 GB Notification: Performance of Templates: time 0.01033/0.8645, allocations: 5.693 MB / 1.208 GB, free: 3.73 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.961161935934797]