Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001436/0.001436, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.573/1.573, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.091/3.091, allocations: 482.2 MB / 0.7548 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003455/0.003455, allocations: 68.47 kB / 0.9238 GB, free: 476 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.141, allocations: 162.2 MB / 1.082 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003165/1.144, allocations: 1.435 MB / 1.084 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001996/1.146, allocations: 1.078 MB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/1.146, allocations: 0 / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/1.146, allocations: 1.172 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/1.147, allocations: 7.453 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/1.147, allocations: 186.3 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.5e-05/1.147, allocations: 33.72 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/1.148, allocations: 6.531 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/1.148, allocations: 12.92 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/1.148, allocations: 13.23 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/1.148, allocations: 1.469 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/1.149, allocations: 428 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/1.149, allocations: 10.31 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/1.149, allocations: 9.812 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/1.149, allocations: 139.6 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.149, allocations: 4 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.677e-06/1.149, allocations: 0 / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.149, allocations: 1.266 kB / 1.085 GB, free: 15.76 MB / 0.8419 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.0006066/1.15, allocations: 385.1 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.15, allocations: 10.91 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/1.15, allocations: 5.719 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.15, allocations: 169.4 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.15, allocations: 1.125 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.15, allocations: 1.562 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/1.15, allocations: 51.97 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.15, allocations: 4 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.15, allocations: 0 / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.15, allocations: 1.688 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/1.15, allocations: 16.92 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/1.151, allocations: 161.2 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/1.151, allocations: 38.22 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/1.151, allocations: 20.91 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.152, allocations: 0.9798 MB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.152, allocations: 48.25 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.152, allocations: 1.406 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002059/1.152, allocations: 55.31 kB / 1.087 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.152, allocations: 53.42 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.152, allocations: 105 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/1.152, allocations: 26.8 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/1.152, allocations: 86.05 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/1.153, allocations: 9.938 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/1.153, allocations: 23.39 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.153, allocations: 313.1 kB / 1.088 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/1.153, allocations: 9.25 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/1.153, allocations: 9.141 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/1.153, allocations: 23.58 kB / 1.088 GB, free: 13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.153, allocations: 1.188 kB / 1.088 GB, free: 13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.72e-05/1.153, allocations: 48.64 kB / 1.088 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.153, allocations: 8.656 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.153, allocations: 5.359 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.153, allocations: 1.188 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.153, allocations: 12.42 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.153, allocations: 1.969 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/1.153, allocations: 1.219 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.153, allocations: 1.188 kB / 1.088 GB, free: 12.96 MB / 0.8419 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 0.0001064/1.153, allocations: 119.9 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/1.153, allocations: 9.719 kB / 1.088 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/1.154, allocations: 62.58 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.154, allocations: 5.031 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.154, allocations: 0.9844 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.154, allocations: 0.9688 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/1.154, allocations: 161.5 kB / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.154, allocations: 0 / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/1.154, allocations: 18.12 kB / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/1.154, allocations: 6.016 kB / 1.088 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.154, allocations: 0 / 1.088 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.154, allocations: 1.219 kB / 1.088 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.154, allocations: 320 / 1.088 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.154, allocations: 82.02 kB / 1.089 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/1.154, allocations: 87 kB / 1.089 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.154, allocations: 5.969 kB / 1.089 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/1.154, allocations: 4 kB / 1.089 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/1.154, allocations: 7.312 kB / 1.089 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/1.154, allocations: 1.25 kB / 1.089 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.471e-05/1.154, allocations: 86.27 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.154, allocations: 4 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002614/1.155, allocations: 43.86 kB / 1.089 GB, free: 12.29 MB / 0.8419 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.0003132/1.155, allocations: 154.6 kB / 1.089 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001193/1.155, allocations: 24.33 kB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.155, allocations: 1.219 kB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/1.155, allocations: 8.234 kB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/1.155, allocations: 12.77 kB / 1.089 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/1.156, allocations: 188.5 kB / 1.089 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/1.156, allocations: 0.6794 MB / 1.09 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/1.156, allocations: 10.81 kB / 1.09 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/1.156, allocations: 0 / 1.09 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.003614/1.16, allocations: 1.039 MB / 1.091 GB, free: 11.21 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches