Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 189.5 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 68.12 kB / 0.812 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6095, allocations: 140.4 MB / 0.9491 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002294/0.6119, allocations: 1.417 MB / 0.9505 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.6133, allocations: 1.118 MB / 0.9516 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.6134, allocations: 4 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.6134, allocations: 0 / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.6135, allocations: 12.81 kB / 0.9516 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.6139, allocations: 148.8 kB / 0.9517 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.614, allocations: 29.95 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.614, allocations: 5.781 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.6141, allocations: 14.91 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.6142, allocations: 13.39 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.6142, allocations: 5.531 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.6147, allocations: 429.8 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.6147, allocations: 5.141 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.6147, allocations: 7.938 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.615, allocations: 199.9 kB / 0.9524 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.615, allocations: 3.984 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.615, allocations: 1.312 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5e-06/0.6151, allocations: 4 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003579/0.6154, allocations: 387.5 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6155, allocations: 9.781 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.6155, allocations: 32.12 kB / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.6155, allocations: 2.25 kB / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.6156, allocations: 174.3 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.6156, allocations: 1.531 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.6156, allocations: 1.688 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/0.6157, allocations: 48.06 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6157, allocations: 0 / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.6158, allocations: 5.156 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6158, allocations: 0 / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.6158, allocations: 12.77 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.6159, allocations: 159.7 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.616, allocations: 42.64 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.6161, allocations: 11.67 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007026/0.6168, allocations: 0.9878 MB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.6168, allocations: 46.42 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6168, allocations: 1.094 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.617, allocations: 56.91 kB / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.617, allocations: 51.41 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.6171, allocations: 106.8 kB / 0.9545 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.6171, allocations: 25.7 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.6171, allocations: 89.25 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.6171, allocations: 10.66 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.6172, allocations: 20.5 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.6172, allocations: 320.1 kB / 0.9549 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.6172, allocations: 4.781 kB / 0.9549 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.6173, allocations: 11.66 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.6173, allocations: 19.2 kB / 0.955 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6173, allocations: 3.938 kB / 0.955 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.083e-05/0.6174, allocations: 53.97 kB / 0.955 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6174, allocations: 5.75 kB / 0.955 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6174, allocations: 0 / 0.955 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6174, allocations: 4 kB / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.6176, allocations: 19.72 kB / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.6176, allocations: 1.438 kB / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.6176, allocations: 3.906 kB / 0.9551 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.6176, allocations: 1.469 kB / 0.9551 GB, free: 3.887 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 5.102e-05/0.6177, allocations: 115.3 kB / 0.9552 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.6177, allocations: 6.719 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.6178, allocations: 65.41 kB / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6178, allocations: 0 / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6178, allocations: 5.469 kB / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6178, allocations: 0 / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.6179, allocations: 160.3 kB / 0.9554 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6179, allocations: 1.094 kB / 0.9554 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.816e-05/0.618, allocations: 18.89 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.618, allocations: 0.9688 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.618, allocations: 1.156 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.618, allocations: 0 / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.618, allocations: 4.875 kB / 0.9554 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.6181, allocations: 81.47 kB / 0.9555 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.6181, allocations: 82.05 kB / 0.9556 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.6182, allocations: 1.125 kB / 0.9556 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.6182, allocations: 0 / 0.9556 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.6182, allocations: 6.203 kB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.6182, allocations: 0.9375 kB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.6182, allocations: 84.91 kB / 0.9557 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6183, allocations: 0.9688 kB / 0.9557 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002341/0.6185, allocations: 48.33 kB / 0.9557 GB, free: 3.203 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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.0003645/0.6189, allocations: 0.6703 MB / 0.9564 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.826e-05/0.619, allocations: 18.33 kB / 0.9564 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.619, allocations: 3.938 kB / 0.9564 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.619, allocations: 16.44 kB / 0.9564 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6192, allocations: 6.797 kB / 0.9564 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.6197, allocations: 204.8 kB / 0.9566 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.949e-05/0.6198, allocations: 0.6797 MB / 0.9573 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.6198, allocations: 7.938 kB / 0.9573 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.6198, allocations: 14.19 kB / 0.9573 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.6198, allocations: 0 / 0.9573 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.6521, allocations: 2.049 MB / 0.9593 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.6523, allocations: 295.8 kB / 0.9596 GB, free: 300 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.341, allocations: 3 kB / 0.9596 GB, free: 300 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches