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.00141/0.00141, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001424/0.001424, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] 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.447/2.447, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 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.001706/0.001706, allocations: 67.84 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7578, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002105/0.7599, allocations: 1.509 MB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.7609, allocations: 0.9026 MB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.761, allocations: 6.25 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.7611, allocations: 40.73 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.7611, allocations: 20.38 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.7616, allocations: 201.1 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.7617, allocations: 52.2 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.7617, allocations: 6.344 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.7618, allocations: 18.47 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.7618, allocations: 19 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.7618, allocations: 0.875 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.7621, allocations: 168.6 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.7621, allocations: 9.047 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.7622, allocations: 20.84 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.7623, allocations: 124 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7623, allocations: 1.156 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7623, allocations: 0 / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.7624, allocations: 0 / 1.274 GB, free: 5.797 MB / 0.9981 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.0002443/0.7626, allocations: 373.8 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.7626, allocations: 9.625 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.7627, allocations: 111.2 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.7627, allocations: 82.7 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.7628, allocations: 263.9 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.7629, allocations: 155.7 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.7629, allocations: 155.8 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.389e-05/0.7629, allocations: 111.7 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7629, allocations: 75.28 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.7629, allocations: 150.6 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.763, allocations: 155.7 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.763, allocations: 150.6 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.7631, allocations: 468.4 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.376e-05/0.7632, allocations: 170.1 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.7632, allocations: 87.48 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.7632, allocations: 75.28 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.7632, allocations: 114.8 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.7632, allocations: 0 / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.966e-05/0.7633, allocations: 29.08 kB / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.7633, allocations: 130.6 kB / 1.277 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.7634, allocations: 138.3 kB / 1.277 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.7634, allocations: 26.48 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.7634, allocations: 92.84 kB / 1.277 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.7634, allocations: 4.906 kB / 1.277 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.7634, allocations: 14.34 kB / 1.277 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.7635, allocations: 319.1 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.7635, allocations: 3.031 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.7635, allocations: 6.719 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.821e-05/0.7635, allocations: 10.91 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7635, allocations: 3.938 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.857e-05/0.7636, allocations: 56.34 kB / 1.278 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.7636, allocations: 5.094 kB / 1.278 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.7637, allocations: 7.172 kB / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7637, allocations: 0 / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.7637, allocations: 1.922 kB / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.7637, allocations: 0.9062 kB / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.7637, allocations: 1 kB / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.7637, allocations: 1.125 kB / 1.278 GB, free: 2.234 MB / 0.9981 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.245e-05/0.7637, allocations: 186.4 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.7638, allocations: 118.1 kB / 1.278 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.7638, allocations: 115.4 kB / 1.278 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-05/0.7639, allocations: 178.8 kB / 1.278 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.651e-05/0.764, allocations: 177.3 kB / 1.279 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/0.7641, allocations: 189.5 kB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.7643, allocations: 413.1 kB / 1.279 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/0.7643, allocations: 116.4 kB / 1.279 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.7644, allocations: 101.8 kB / 1.279 GB, free: 16.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.7644, allocations: 179.5 kB / 1.28 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/0.7645, allocations: 185.1 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-05/0.7646, allocations: 177.9 kB / 1.28 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.505e-05/0.7647, allocations: 180.9 kB / 1.28 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.7648, allocations: 306.6 kB / 1.28 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.7649, allocations: 194.1 kB / 1.281 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.765, allocations: 177.8 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.7651, allocations: 115.9 kB / 1.281 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.7651, allocations: 181 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.7652, allocations: 102.7 kB / 1.281 GB, free: 14.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.465e-05/0.7652, allocations: 111.5 kB / 1.281 GB, free: 14.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7652, allocations: 0 / 1.281 GB, free: 14.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002459/0.7655, allocations: 32.81 kB / 1.281 GB, free: 14.64 MB / 1.014 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.0005344/0.766, allocations: 0.8604 MB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.032e-05/0.7661, allocations: 32.64 kB / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7661, allocations: 0 / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.7661, allocations: 8.719 kB / 1.282 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.7665, allocations: 467.7 kB / 1.283 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7676, allocations: 1.464 MB / 1.284 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.7679, allocations: 0.6813 MB / 1.285 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.7679, allocations: 3.656 kB / 1.285 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.768, allocations: 13.56 kB / 1.285 GB, free: 11.24 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.768, allocations: 0 / 1.285 GB, free: 11.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.791, allocations: 2.705 MB / 1.287 GB, free: 10.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/7.72, allocations: 1.438 kB / 1.287 GB, free: 10.8 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 12.88364188199921]