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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_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_9_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.001082/0.001082, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001388/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240 MB, free: 5.262 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.542/2.542, allocations: 390.9 MB / 0.666 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003678, allocations: 12 kB / 0.8154 GB, free: 13.51 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.8929, allocations: 142.4 MB / 0.9545 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001567/0.8945, allocations: 1.066 MB / 0.9555 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.896, allocations: 0.9975 MB / 0.9565 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.8961, allocations: 5.281 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.8961, allocations: 0 / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.8962, allocations: 9.234 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.8967, allocations: 151.4 kB / 0.9567 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.8967, allocations: 24.88 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.8968, allocations: 9.047 kB / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.8969, allocations: 14.81 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.8969, allocations: 9.641 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.897, allocations: 2.25 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.8975, allocations: 412.4 kB / 0.9571 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.8976, allocations: 1.062 kB / 0.9571 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.8976, allocations: 31.98 kB / 0.9572 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.8978, allocations: 138 kB / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8978, allocations: 0 / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8978, allocations: 0 / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8979, allocations: 4 kB / 0.9573 GB, free: 5.617 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.0003648/0.8982, allocations: 384.4 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.8983, allocations: 8.562 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.8983, allocations: 9.391 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.354e-05/0.8984, allocations: 165.2 kB / 0.9578 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.8984, allocations: 1.125 kB / 0.9578 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.8984, allocations: 3.031 kB / 0.9578 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.8985, allocations: 38.75 kB / 0.9579 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8986, allocations: 4 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.8986, allocations: 0 / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.8986, allocations: 1.625 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.8986, allocations: 23.41 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.8988, allocations: 159.8 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.8989, allocations: 34.98 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.8989, allocations: 18.73 kB / 0.9581 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007138/0.8996, allocations: 0.9867 MB / 0.9591 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.8997, allocations: 35.69 kB / 0.9591 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8997, allocations: 0 / 0.9591 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.8999, allocations: 60.84 kB / 0.9592 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.8999, allocations: 53.19 kB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.9, allocations: 105.1 kB / 0.9593 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.9, allocations: 29.7 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.9, allocations: 82.11 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.9, allocations: 9.719 kB / 0.9594 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.9, allocations: 0 / 0.9594 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.9001, allocations: 324.6 kB / 0.9597 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.9001, allocations: 3.625 kB / 0.9597 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.9001, allocations: 13.36 kB / 0.9598 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.9002, allocations: 3.594 kB / 0.9598 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9002, allocations: 0 / 0.9598 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.317e-05/0.9003, allocations: 61.56 kB / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9003, allocations: 5.406 kB / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9003, allocations: 0 / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9003, allocations: 0 / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.9004, allocations: 19.73 kB / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.9004, allocations: 1.625 kB / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.9005, allocations: 4 kB / 0.9598 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.9005, allocations: 1.312 kB / 0.9598 GB, free: 2.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.9005, allocations: 111.1 kB / 0.9599 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.9005, allocations: 6.594 kB / 0.96 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.9007, allocations: 71.19 kB / 0.96 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.9007, allocations: 0 / 0.96 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9007, allocations: 7.344 kB / 0.96 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9007, allocations: 4 kB / 0.96 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.441e-05/0.9008, allocations: 159.1 kB / 0.9602 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9008, allocations: 0 / 0.9602 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.9009, allocations: 16.36 kB / 0.9602 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9009, allocations: 0 / 0.9602 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.9009, allocations: 5.375 kB / 0.9602 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9009, allocations: 0 / 0.9602 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9009, allocations: 0 / 0.9602 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.583e-05/0.901, allocations: 77.58 kB / 0.9603 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.901, allocations: 82.39 kB / 0.9604 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.901, allocations: 5.375 kB / 0.9604 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.9011, allocations: 7.922 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.9011, allocations: 1.375 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.9011, allocations: 1.375 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.9011, allocations: 84.78 kB / 0.9605 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9011, allocations: 0 / 0.9605 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002348/0.9014, allocations: 48.8 kB / 0.9605 GB, free: 2.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.9016, allocations: 157.9 kB / 0.9607 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9017, allocations: 20.36 kB / 0.9607 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9017, allocations: 1.375 kB / 0.9607 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.9017, allocations: 14.75 kB / 0.9607 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.902, allocations: 13.72 kB / 0.9607 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.9022, allocations: 168.9 kB / 0.9609 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.9024, allocations: 0.6785 MB / 0.9615 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.9024, allocations: 8.531 kB / 0.9615 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.9024, allocations: 10.19 kB / 0.9615 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9024, allocations: 0 / 0.9615 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.003655/0.9061, allocations: 1.101 MB / 0.9626 GB, free: 0.5547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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