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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.341/2.341, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.9 kB / 0.4902 GB, free: 2.293 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 223.2 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 94.95 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.0005179, allocations: 11.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4003, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.6099, allocations: 154.5 MB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.6103, allocations: 111.9 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01957/0.6299, allocations: 6.34 MB / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.517e-06/0.6299, allocations: 8 kB / 1.386 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.63, allocations: 0 / 1.386 GB, free: 8.594 MB / 0.8855 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.0005831/0.6306, allocations: 399 kB / 1.387 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.6306, allocations: 8.562 kB / 1.387 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.6307, allocations: 7.953 kB / 1.387 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.6309, allocations: 167 kB / 1.387 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.6309, allocations: 0 / 1.387 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.6309, allocations: 7.938 kB / 1.387 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.631, allocations: 37.69 kB / 1.387 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6311, allocations: 4 kB / 1.387 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6311, allocations: 0 / 1.387 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6311, allocations: 4 kB / 1.387 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.6312, allocations: 12 kB / 1.387 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.6314, allocations: 161.5 kB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.6315, allocations: 42.55 kB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009877/0.6325, allocations: 0.9857 MB / 1.388 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.6325, allocations: 34.56 kB / 1.388 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.6325, allocations: 3.938 kB / 1.388 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002074/0.6328, allocations: 57.69 kB / 1.388 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6328, allocations: 55.41 kB / 1.388 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.6329, allocations: 105 kB / 1.388 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6329, allocations: 25.7 kB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.633, allocations: 80.14 kB / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.633, allocations: 19.8 kB / 1.389 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.633, allocations: 0 / 1.389 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6332, allocations: 322.7 kB / 1.389 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.6332, allocations: 8 kB / 1.389 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.6332, allocations: 8 kB / 1.389 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.6333, allocations: 4.281 kB / 1.389 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6333, allocations: 0 / 1.389 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.82e-05/0.6334, allocations: 57.67 kB / 1.389 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6334, allocations: 4 kB / 1.389 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6334, allocations: 3.938 kB / 1.389 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6334, allocations: 4 kB / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6336, allocations: 15.98 kB / 1.389 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6336, allocations: 0 / 1.389 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.6336, allocations: 3.938 kB / 1.389 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.6336, allocations: 4 kB / 1.389 GB, free: 5.543 MB / 0.8855 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 8.209e-05/0.6337, allocations: 117.7 kB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.6337, allocations: 3.906 kB / 1.389 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.6339, allocations: 61.58 kB / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6339, allocations: 0 / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6339, allocations: 0 / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6339, allocations: 4 kB / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.6341, allocations: 161.6 kB / 1.389 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6341, allocations: 0 / 1.389 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.6341, allocations: 19.98 kB / 1.389 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6342, allocations: 0 / 1.389 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.6342, allocations: 4 kB / 1.389 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6342, allocations: 0 / 1.389 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6342, allocations: 0 / 1.389 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.6343, allocations: 73.06 kB / 1.389 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.6344, allocations: 88.97 kB / 1.39 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.6344, allocations: 4 kB / 1.39 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.6344, allocations: 4 kB / 1.39 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.6344, allocations: 0 / 1.39 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6344, allocations: 3.984 kB / 1.39 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.6345, allocations: 87.28 kB / 1.39 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6345, allocations: 0 / 1.39 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002802/0.6348, allocations: 51.86 kB / 1.39 GB, free: 4.77 MB / 0.8855 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.0003076/0.6351, allocations: 159.9 kB / 1.39 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.6352, allocations: 19.94 kB / 1.39 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6352, allocations: 4 kB / 1.39 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.6353, allocations: 8 kB / 1.39 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.6355, allocations: 15.92 kB / 1.39 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.6358, allocations: 174.4 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.6361, allocations: 0.6848 MB / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.6361, allocations: 336 / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.6362, allocations: 11.44 kB / 1.391 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.6362, allocations: 0 / 1.391 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of Templates: time 0.003832/0.64, allocations: 1.027 MB / 1.392 GB, free: 2.656 MB / 0.8855 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","../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