Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0008834/0.0008834, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001037/0.001037, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8874/0.8874, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.651/1.651, allocations: 359 MB / 0.6037 GB, free: 11.09 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.426e-05, allocations: 9.312 kB / 0.9506 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002632/0.002656, allocations: 1.439 MB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004333/0.006989, allocations: 2.673 MB / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.00705, allocations: 0 / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.007078, allocations: 7.922 kB / 0.9546 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.007148, allocations: 19.8 kB / 0.9546 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.01126, allocations: 1.646 MB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.01138, allocations: 43.67 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.01142, allocations: 4 kB / 0.9563 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.01148, allocations: 23.92 kB / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.974e-05/0.01151, allocations: 15.92 kB / 0.9563 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.01152, allocations: 3.984 kB / 0.9563 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.01381, allocations: 1.485 MB / 0.9578 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.01383, allocations: 7.984 kB / 0.9578 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.01387, allocations: 15.94 kB / 0.9578 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.01526, allocations: 1.266 MB / 0.959 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01526, allocations: 0 / 0.959 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01526, allocations: 0 / 0.959 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.01527, allocations: 0 / 0.959 GB, free: 10.72 MB / 0.9167 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.0008084/0.01608, allocations: 476 kB / 0.9595 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.01612, allocations: 12.03 kB / 0.9595 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.01616, allocations: 106 kB / 0.9596 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.01621, allocations: 84.16 kB / 0.9597 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.01631, allocations: 199.2 kB / 0.9599 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.01635, allocations: 154.9 kB / 0.96 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.01639, allocations: 150.9 kB / 0.9602 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.372e-05/0.01644, allocations: 105.5 kB / 0.9603 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.01646, allocations: 75.47 kB / 0.9603 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.0165, allocations: 154.5 kB / 0.9605 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.01653, allocations: 154.5 kB / 0.9606 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.01657, allocations: 162.5 kB / 0.9608 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.01678, allocations: 436.9 kB / 0.9612 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.01684, allocations: 169.1 kB / 0.9614 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.01687, allocations: 92.11 kB / 0.9615 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01689, allocations: 79.28 kB / 0.9615 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.01692, allocations: 105.8 kB / 0.9616 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.01692, allocations: 0 / 0.9616 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.205e-05/0.01698, allocations: 41.53 kB / 0.9617 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.01703, allocations: 126.7 kB / 0.9618 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.01714, allocations: 129.8 kB / 0.9619 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.01715, allocations: 29.7 kB / 0.962 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.01719, allocations: 92.12 kB / 0.962 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.01719, allocations: 0 / 0.962 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.01722, allocations: 17.72 kB / 0.9621 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.01729, allocations: 322.8 kB / 0.9624 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.01731, allocations: 8 kB / 0.9624 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.01732, allocations: 8 kB / 0.9624 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.01735, allocations: 8.859 kB / 0.9624 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01735, allocations: 0 / 0.9624 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001024/0.01745, allocations: 53.59 kB / 0.9624 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01747, allocations: 11.92 kB / 0.9625 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.01749, allocations: 4 kB / 0.9625 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0175, allocations: 0 / 0.9625 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.0175, allocations: 0 / 0.9625 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.0175, allocations: 8.062 kB / 0.9625 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.01752, allocations: 0 / 0.9625 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01752, allocations: 0 / 0.9625 GB, free: 7.016 MB / 0.9167 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 6.546e-05/0.01759, allocations: 189.1 kB / 0.9626 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.01763, allocations: 112.9 kB / 0.9627 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.01766, allocations: 116.5 kB / 0.9629 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/0.0177, allocations: 176.3 kB / 0.963 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.229e-05/0.01775, allocations: 188.2 kB / 0.9632 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/0.01778, allocations: 176.3 kB / 0.9634 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.01792, allocations: 388.2 kB / 0.9637 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.01794, allocations: 105 kB / 0.9638 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.01797, allocations: 105 kB / 0.9639 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-05/0.01801, allocations: 184.2 kB / 0.9641 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.01805, allocations: 184.1 kB / 0.9643 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.08e-05/0.01809, allocations: 188.2 kB / 0.9645 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.776e-05/0.01813, allocations: 180.2 kB / 0.9646 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.345e-05/0.01822, allocations: 311.8 kB / 0.9649 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.01825, allocations: 112.9 kB / 0.9651 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.0183, allocations: 192.1 kB / 0.9652 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.01835, allocations: 101.3 kB / 0.9653 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.01839, allocations: 176.3 kB / 0.9655 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.01841, allocations: 117 kB / 0.9656 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.01845, allocations: 101.6 kB / 0.9657 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01845, allocations: 0 / 0.9657 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005126/0.01897, allocations: 295 kB / 0.966 GB, free: 3.195 MB / 0.9167 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.001283/0.02025, allocations: 1.231 MB / 0.9672 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.02035, allocations: 41.64 kB / 0.9672 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02035, allocations: 0 / 0.9672 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.02035, allocations: 4 kB / 0.9672 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.02064, allocations: 463.7 kB / 0.9677 GB, free: 1.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.02175, allocations: 1.6 MB / 0.9692 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.875e-05/0.0218, allocations: 67.42 kB / 0.9693 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.02181, allocations: 11.91 kB / 0.9693 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.02184, allocations: 12.5 kB / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of SimCode: time 5.41e-07/0.02184, allocations: 0 / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.04332, allocations: 7.998 MB / 0.9771 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.227, allocations: 4.5 kB / 0.9771 GB, free: 7.867 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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: 11.255129770375788]