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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001427/0.001427, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001753/0.001753, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 67.89 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6697, allocations: 140.4 MB / 0.9493 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002168/0.6719, allocations: 1.419 MB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.6732, allocations: 1.082 MB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.6732, allocations: 1.062 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.6733, allocations: 0 / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.6733, allocations: 5.375 kB / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.6739, allocations: 192.9 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.6739, allocations: 29.39 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.674, allocations: 2.875 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.674, allocations: 13.73 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.6741, allocations: 18.2 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.6741, allocations: 1.125 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.6746, allocations: 427.1 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.6746, allocations: 13.17 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.6747, allocations: 9.094 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.6749, allocations: 198.7 kB / 0.9526 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6749, allocations: 1.781 kB / 0.9526 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6749, allocations: 3.938 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6749, allocations: 0 / 0.9526 GB, free: 6.645 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.0003413/0.6753, allocations: 386.9 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6753, allocations: 9.531 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.6754, allocations: 30.75 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.6754, allocations: 7.484 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.563e-05/0.6755, allocations: 170.8 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.6755, allocations: 384 / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.6755, allocations: 2.906 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.6756, allocations: 47.44 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6756, allocations: 0 / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.6756, allocations: 0 / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6756, allocations: 1.469 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.6757, allocations: 15.52 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.6758, allocations: 160.6 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.6759, allocations: 42.61 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.6759, allocations: 15.05 kB / 0.9535 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.6766, allocations: 0.9873 MB / 0.9544 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.6766, allocations: 44.2 kB / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6766, allocations: 0 / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000152/0.6768, allocations: 56.59 kB / 0.9545 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.6768, allocations: 56.69 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/0.6769, allocations: 102.2 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.6769, allocations: 29.7 kB / 0.9547 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.6769, allocations: 85.5 kB / 0.9548 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.677, allocations: 13.25 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.677, allocations: 14.03 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.677, allocations: 320.2 kB / 0.9551 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.6771, allocations: 3.812 kB / 0.9551 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.6771, allocations: 8.469 kB / 0.9551 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.6771, allocations: 30.48 kB / 0.9552 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6771, allocations: 4 kB / 0.9552 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.096e-05/0.6772, allocations: 53.44 kB / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6772, allocations: 5.625 kB / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6772, allocations: 0 / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.6772, allocations: 1.734 kB / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.6774, allocations: 15.17 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6774, allocations: 0 / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.6774, allocations: 5.5 kB / 0.9552 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.6774, allocations: 1.406 kB / 0.9552 GB, free: 3.727 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 4.878e-05/0.6775, allocations: 115.2 kB / 0.9553 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.6775, allocations: 9.422 kB / 0.9554 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.6776, allocations: 66.27 kB / 0.9554 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6776, allocations: 0 / 0.9554 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6776, allocations: 1.281 kB / 0.9554 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6776, allocations: 0 / 0.9554 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.797e-05/0.6777, allocations: 160.8 kB / 0.9556 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6777, allocations: 4 kB / 0.9556 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.6778, allocations: 19.3 kB / 0.9556 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6778, allocations: 1.125 kB / 0.9556 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.6778, allocations: 5.25 kB / 0.9556 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.6778, allocations: 0 / 0.9556 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6778, allocations: 0 / 0.9556 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.6779, allocations: 82.75 kB / 0.9557 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.6779, allocations: 86.14 kB / 0.9558 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.678, allocations: 0 / 0.9558 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.678, allocations: 1.406 kB / 0.9558 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.678, allocations: 5.359 kB / 0.9558 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.678, allocations: 5.656 kB / 0.9558 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.678, allocations: 83.94 kB / 0.9559 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.678, allocations: 0 / 0.9559 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.6783, allocations: 42.05 kB / 0.9559 GB, free: 3.039 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.00036/0.6786, allocations: 0.6732 MB / 0.9566 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.6787, allocations: 25.77 kB / 0.9566 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6788, allocations: 1.438 kB / 0.9566 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.157e-05/0.6788, allocations: 14.91 kB / 0.9566 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.679, allocations: 7.109 kB / 0.9566 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.6794, allocations: 209.9 kB / 0.9568 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.6795, allocations: 0.6842 MB / 0.9575 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.6796, allocations: 2.469 kB / 0.9575 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.6796, allocations: 9.688 kB / 0.9575 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6796, allocations: 1.281 kB / 0.9575 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.6926, allocations: 2.09 MB / 0.9595 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.6928, allocations: 291.5 kB / 0.9598 GB, free: 120 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.544, allocations: 5.453 kB / 0.9598 GB, free: 120 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