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.001015/0.001015, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.006257/0.006258, allocations: 171 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.367 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.215/2.215, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5841, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001017/0.5852, allocations: 1.082 MB / 0.9563 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.5864, allocations: 1.103 MB / 0.9574 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.5864, allocations: 5.281 kB / 0.9574 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.5865, allocations: 0 / 0.9574 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.5865, allocations: 9.234 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.5869, allocations: 148.7 kB / 0.9575 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.587, allocations: 29.39 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.587, allocations: 1.594 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.5871, allocations: 19.16 kB / 0.9576 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.5871, allocations: 16.84 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-06/0.5871, allocations: 1.188 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.5876, allocations: 426.2 kB / 0.958 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.779e-06/0.5876, allocations: 10.08 kB / 0.958 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.5876, allocations: 37.36 kB / 0.958 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.5879, allocations: 203.3 kB / 0.9582 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5879, allocations: 0 / 0.9582 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5879, allocations: 1.781 kB / 0.9582 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.5879, allocations: 0 / 0.9582 GB, free: 5.438 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.000277/0.5882, allocations: 375.3 kB / 0.9586 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5882, allocations: 9.344 kB / 0.9586 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.159e-05/0.5882, allocations: 35.78 kB / 0.9586 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.5883, allocations: 10.12 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.92e-05/0.5883, allocations: 162.2 kB / 0.9588 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.5883, allocations: 1.688 kB / 0.9588 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5884, allocations: 5.625 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.5884, allocations: 40.25 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.5885, allocations: 0 / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.5885, allocations: 1.312 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.5885, allocations: 0 / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.5885, allocations: 16.86 kB / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.5886, allocations: 171.9 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.5887, allocations: 38.33 kB / 0.9591 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.5887, allocations: 15.27 kB / 0.9591 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.5893, allocations: 0.9865 MB / 0.96 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.5894, allocations: 35.62 kB / 0.9601 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5894, allocations: 0 / 0.9601 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001317/0.5895, allocations: 61.22 kB / 0.9601 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.5895, allocations: 52.59 kB / 0.9602 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.5896, allocations: 109.9 kB / 0.9603 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.5896, allocations: 25.7 kB / 0.9603 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.5896, allocations: 81.61 kB / 0.9604 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.5896, allocations: 17.89 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.5897, allocations: 11.22 kB / 0.9604 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.5897, allocations: 320 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.5897, allocations: 3.75 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.5897, allocations: 7.984 kB / 0.9607 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.5898, allocations: 23.55 kB / 0.9607 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5898, allocations: 3.938 kB / 0.9608 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.495e-05/0.5899, allocations: 61.2 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5899, allocations: 4.938 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.5899, allocations: 2.062 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.5899, allocations: 0 / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.59, allocations: 19.64 kB / 0.9608 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.59, allocations: 0 / 0.9608 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.59, allocations: 5.75 kB / 0.9608 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-06/0.59, allocations: 320 / 0.9608 GB, free: 2.523 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.034e-05/0.5901, allocations: 111.7 kB / 0.9609 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.5901, allocations: 9.75 kB / 0.961 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.5902, allocations: 64.58 kB / 0.961 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.5902, allocations: 0 / 0.961 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5902, allocations: 5.516 kB / 0.961 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.5902, allocations: 0 / 0.961 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.094e-05/0.5903, allocations: 157.1 kB / 0.9612 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5903, allocations: 0 / 0.9612 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.5904, allocations: 19.42 kB / 0.9612 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5904, allocations: 4.969 kB / 0.9612 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5904, allocations: 4 kB / 0.9612 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.5904, allocations: 1.031 kB / 0.9612 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5904, allocations: 0 / 0.9612 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.085e-05/0.5905, allocations: 74.22 kB / 0.9613 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.5905, allocations: 90.27 kB / 0.9614 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.5905, allocations: 5.375 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.5905, allocations: 0 / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.5905, allocations: 5.375 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5905, allocations: 1.375 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.099e-05/0.5906, allocations: 92.73 kB / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5906, allocations: 0 / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002061/0.5908, allocations: 44.81 kB / 0.9615 GB, free: 1.836 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.0003069/0.5911, allocations: 0.6664 MB / 0.9622 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.5912, allocations: 21.69 kB / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5912, allocations: 0 / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.5912, allocations: 12.23 kB / 0.9622 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.5914, allocations: 9.766 kB / 0.9622 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.5917, allocations: 226.7 kB / 0.9624 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.5918, allocations: 0.6798 MB / 0.9631 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.5918, allocations: 7.109 kB / 0.9631 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.5919, allocations: 18.12 kB / 0.9631 GB, free: 264 kB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5919, allocations: 0 / 0.9631 GB, free: 264 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5008/1.093, allocations: 1.975 MB / 0.965 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/1.093, allocations: 294 kB / 0.9653 GB, free: 15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.792, allocations: 2.062 kB / 0.9653 GB, free: 15 MB / 0.7325 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