Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 108.8 kB / 16.45 MB, free: 6.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 191.7 kB / 19.41 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.624/2.624, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8405, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003292/0.8437, allocations: 1.49 MB / 1.27 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.8456, allocations: 0.9017 MB / 1.271 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.8457, allocations: 3.938 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.8459, allocations: 43.81 kB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.846, allocations: 19.8 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.8466, allocations: 190.6 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.8468, allocations: 51.67 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.8468, allocations: 7.984 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.8469, allocations: 19.92 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.8469, allocations: 15.88 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.8469, allocations: 0 / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.8474, allocations: 183.7 kB / 1.272 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.8474, allocations: 3.938 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.8474, allocations: 19.88 kB / 1.272 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.8477, allocations: 121.4 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8477, allocations: 4 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.19e-06/0.8477, allocations: 3.984 kB / 1.272 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.8477, allocations: 0 / 1.272 GB, free: 2.102 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004908/0.8482, allocations: 371 kB / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.8482, allocations: 8.031 kB / 1.272 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/0.8483, allocations: 110 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.8484, allocations: 84.17 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.8488, allocations: 267.5 kB / 1.273 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.8489, allocations: 150.9 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.8489, allocations: 150.9 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.849, allocations: 113 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.8491, allocations: 79.28 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.8492, allocations: 150.6 kB / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-05/0.8492, allocations: 150.6 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.8493, allocations: 154.5 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.8497, allocations: 469.9 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.8498, allocations: 169.1 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.8499, allocations: 88.14 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.8499, allocations: 75.28 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.8499, allocations: 113.8 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8499, allocations: 8 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.543e-05/0.85, allocations: 29.69 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.8501, allocations: 130.6 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.8503, allocations: 135.9 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.8503, allocations: 25.7 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.8503, allocations: 92.09 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-06/0.8503, allocations: 0 / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.8504, allocations: 21.7 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8505, allocations: 318.8 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.8506, allocations: 4 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.8506, allocations: 0 / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.8506, allocations: 20.84 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8506, allocations: 3.938 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.8507, allocations: 49.58 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8508, allocations: 4 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.8508, allocations: 4 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8508, allocations: 3.938 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.8508, allocations: 4.062 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8508, allocations: 3.984 kB / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.8508, allocations: 3.953 kB / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8508, allocations: 0 / 1.275 GB, free: 14.37 MB / 0.9825 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.0001163/0.851, allocations: 186.7 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.851, allocations: 112.9 kB / 1.275 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.8511, allocations: 112.8 kB / 1.276 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/0.8512, allocations: 184.2 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.8513, allocations: 180.3 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.709e-05/0.8513, allocations: 184.2 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.8516, allocations: 413.2 kB / 1.276 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.8517, allocations: 108.9 kB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.8517, allocations: 105 kB / 1.277 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.121e-05/0.8518, allocations: 180.3 kB / 1.277 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/0.8519, allocations: 184.2 kB / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.036e-05/0.8519, allocations: 176.3 kB / 1.277 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.09e-05/0.852, allocations: 180.2 kB / 1.277 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.8522, allocations: 307.8 kB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.8523, allocations: 193.9 kB / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.8524, allocations: 176.3 kB / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.8525, allocations: 116.9 kB / 1.278 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.8526, allocations: 176.3 kB / 1.278 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.8526, allocations: 105 kB / 1.278 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001001/0.8527, allocations: 105.1 kB / 1.278 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8527, allocations: 0 / 1.278 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003193/0.853, allocations: 43.86 kB / 1.279 GB, free: 10.69 MB / 0.9825 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.00065/0.8537, allocations: 0.8515 MB / 1.279 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.8538, allocations: 41.7 kB / 1.279 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8538, allocations: 0 / 1.279 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-06/0.8538, allocations: 3.938 kB / 1.279 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.8543, allocations: 474.4 kB / 1.28 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.8558, allocations: 1.47 MB / 1.281 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.8561, allocations: 0.6884 MB / 1.282 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.8561, allocations: 0 / 1.282 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.8561, allocations: 15.44 kB / 1.282 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/0.8561, allocations: 0 / 1.282 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.8824, allocations: 2.728 MB / 1.285 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.8, allocations: 24.05 kB / 1.285 GB, free: 4.418 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.581587824970484]