Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008862/0.0008863, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005772/0.005772, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.255/2.255, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 19.98 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5189, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001134/0.5201, allocations: 1.086 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.5215, allocations: 1.107 MB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.5215, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.5215, allocations: 3.984 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.5216, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.522, allocations: 155.3 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.522, allocations: 31.86 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.5221, allocations: 4 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.5221, allocations: 15.92 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.5222, allocations: 15.92 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.5222, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.5227, allocations: 427.4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.5227, allocations: 3.984 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.5228, allocations: 45.56 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.523, allocations: 189.9 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.523, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.523, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.5231, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 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.0003294/0.5234, allocations: 379.4 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5234, allocations: 15.98 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.5235, allocations: 30.75 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.739e-05/0.5235, allocations: 0.9375 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.26e-05/0.5236, allocations: 180.2 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5236, allocations: 8.359 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-06/0.5236, allocations: 8.312 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.5237, allocations: 41.81 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.5237, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.5237, allocations: 8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5237, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.5238, allocations: 8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.5239, allocations: 161.6 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.258e-05/0.524, allocations: 46.55 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.524, allocations: 16.89 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007535/0.5248, allocations: 0.9895 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5248, allocations: 34.5 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.5248, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.525, allocations: 65.56 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.525, allocations: 51.41 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/0.5251, allocations: 105.8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.5251, allocations: 25.7 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.5251, allocations: 88.14 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.5252, allocations: 15.75 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.5252, allocations: 9.719 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/0.5253, allocations: 322.8 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.5253, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.5253, allocations: 4 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.5253, allocations: 20.86 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5253, allocations: 4 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.083e-05/0.5254, allocations: 49.62 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5254, allocations: 8 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.5254, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.5255, allocations: 0 / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.5256, allocations: 19.92 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.5256, allocations: 0 / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.5256, allocations: 0 / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.5256, allocations: 4 kB / 1.029 GB, free: 9.613 MB / 0.7794 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.32e-05/0.5257, allocations: 106.4 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.5257, allocations: 8.172 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.5258, allocations: 77.56 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5258, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5258, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5258, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.623e-05/0.5259, allocations: 157.7 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5259, allocations: 0 / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.526, allocations: 23.86 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.526, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.526, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.526, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.526, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.668e-05/0.5261, allocations: 85.03 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.5261, allocations: 88.98 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.5262, allocations: 0 / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.5262, allocations: 3.938 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.5262, allocations: 7.984 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.5262, allocations: 0 / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.5262, allocations: 83.28 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5262, allocations: 4 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002084/0.5265, allocations: 39.98 kB / 1.029 GB, free: 8.836 MB / 0.7794 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.0004039/0.5269, allocations: 0.6708 MB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.517e-05/0.527, allocations: 19.98 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.527, allocations: 0 / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.527, allocations: 15.94 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.5272, allocations: 11.94 kB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.5275, allocations: 220 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.5277, allocations: 0.6809 MB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.5278, allocations: 6.391 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.5278, allocations: 11.44 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.5278, allocations: 0 / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.571/6.098, allocations: 1.974 MB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003661/6.099, allocations: 300.3 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/7.779, allocations: 0 / 1.033 GB, free: 4.996 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches