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.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.0008028/0.0008028, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008073/0.0008073, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8994/0.8994, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.648/1.648, allocations: 359 MB / 0.6037 GB, free: 11.07 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.9506 GB, free: 3.375 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.886e-05, allocations: 5.375 kB / 0.9506 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001774/0.001793, allocations: 1.443 MB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.004702, allocations: 2.634 MB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.004741, allocations: 0 / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.004763, allocations: 7.938 kB / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.004822, allocations: 15.84 kB / 0.9546 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.007303, allocations: 1.623 MB / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.007375, allocations: 39.67 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.007409, allocations: 7.984 kB / 0.9562 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.007445, allocations: 19.92 kB / 0.9563 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.007465, allocations: 11.98 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.007478, allocations: 4 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.008858, allocations: 1.45 MB / 0.9577 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.008871, allocations: 11.92 kB / 0.9577 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.008896, allocations: 12 kB / 0.9577 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.009973, allocations: 1.243 MB / 0.9589 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.009976, allocations: 0 / 0.9589 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.009977, allocations: 0 / 0.9589 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.009981, allocations: 3.938 kB / 0.9589 GB, free: 10.82 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.0004246/0.01041, allocations: 468.1 kB / 0.9594 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.01044, allocations: 8.031 kB / 0.9594 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.01048, allocations: 106 kB / 0.9595 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.01052, allocations: 84.17 kB / 0.9596 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.01062, allocations: 193 kB / 0.9597 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.01066, allocations: 150.9 kB / 0.9599 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.01071, allocations: 158.9 kB / 0.96 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.092e-05/0.01076, allocations: 101.5 kB / 0.9601 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.01078, allocations: 75.47 kB / 0.9602 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.01082, allocations: 154.5 kB / 0.9604 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.01085, allocations: 154.5 kB / 0.9605 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.01089, allocations: 158.5 kB / 0.9607 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.01109, allocations: 433 kB / 0.9611 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.123e-05/0.01115, allocations: 165.1 kB / 0.9612 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.01118, allocations: 88.14 kB / 0.9613 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.0112, allocations: 79.28 kB / 0.9614 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.01123, allocations: 113.8 kB / 0.9615 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.01123, allocations: 0 / 0.9615 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.227e-05/0.01129, allocations: 37.59 kB / 0.9615 GB, free: 8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.01133, allocations: 126.7 kB / 0.9616 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.01143, allocations: 135.7 kB / 0.9618 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.01144, allocations: 29.7 kB / 0.9618 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.01149, allocations: 92.09 kB / 0.9619 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.01149, allocations: 0 / 0.9619 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.01151, allocations: 21.7 kB / 0.9619 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.01159, allocations: 318.8 kB / 0.9622 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.01161, allocations: 4 kB / 0.9622 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.01162, allocations: 4 kB / 0.9622 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.01166, allocations: 20.78 kB / 0.9622 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01166, allocations: 0 / 0.9622 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.764e-05/0.01175, allocations: 41.7 kB / 0.9623 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.01176, allocations: 7.938 kB / 0.9623 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.01177, allocations: 4 kB / 0.9623 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.01178, allocations: 0 / 0.9623 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.01179, allocations: 3.984 kB / 0.9623 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.01179, allocations: 3.938 kB / 0.9623 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.01181, allocations: 12.02 kB / 0.9623 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01181, allocations: 0 / 0.9623 GB, free: 7.137 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.822e-05/0.01188, allocations: 185.1 kB / 0.9625 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.01191, allocations: 104.9 kB / 0.9626 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.01195, allocations: 116.7 kB / 0.9627 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/0.01199, allocations: 184.2 kB / 0.9629 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-05/0.01203, allocations: 180.3 kB / 0.9631 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/0.01208, allocations: 180.3 kB / 0.9632 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.01223, allocations: 388.2 kB / 0.9636 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.01225, allocations: 101 kB / 0.9637 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.01227, allocations: 112.9 kB / 0.9638 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.233e-05/0.01232, allocations: 180.3 kB / 0.964 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.01236, allocations: 184.2 kB / 0.9641 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.173e-05/0.0124, allocations: 180.2 kB / 0.9643 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-05/0.01245, allocations: 188.3 kB / 0.9645 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.301e-05/0.01254, allocations: 307.7 kB / 0.9648 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.01257, allocations: 112.9 kB / 0.9649 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.01262, allocations: 184.1 kB / 0.9651 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.01267, allocations: 109.3 kB / 0.9652 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.01272, allocations: 184.2 kB / 0.9654 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.01274, allocations: 101 kB / 0.9655 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.01279, allocations: 105.8 kB / 0.9656 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01279, allocations: 0 / 0.9656 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004306/0.01322, allocations: 291 kB / 0.9658 GB, free: 3.34 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.0009291/0.01415, allocations: 1.223 MB / 0.967 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.01422, allocations: 37.7 kB / 0.9671 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01422, allocations: 0 / 0.9671 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.01423, allocations: 4.062 kB / 0.9671 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.0145, allocations: 463.7 kB / 0.9675 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009524/0.01545, allocations: 1.572 MB / 0.969 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.01549, allocations: 67.33 kB / 0.9691 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 1.081e-05/0.0155, allocations: 4 kB / 0.9691 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.01553, allocations: 16.5 kB / 0.9691 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of SimCode: time 4.5e-07/0.01553, allocations: 4.031 kB / 0.9691 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.04114, allocations: 7.795 MB / 0.9767 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.308, allocations: 0.5 kB / 0.9767 GB, free: 8.254 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.369050034321845]