Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001294/0.001294, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9609, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002344/0.9633, allocations: 1.291 MB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004249/0.9676, allocations: 3.757 MB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.9676, allocations: 4.688 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.9677, allocations: 4.453 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.9682, allocations: 97.31 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.9686, allocations: 130 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.9687, allocations: 37.44 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.9687, allocations: 1.5 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.9688, allocations: 26.69 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.969, allocations: 39.38 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.969, allocations: 0.8438 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.9696, allocations: 306.2 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.9696, allocations: 5.906 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.9696, allocations: 6.453 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.9699, allocations: 122.6 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.9699, allocations: 3.938 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9699, allocations: 4 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9699, allocations: 0.7188 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003544/0.9703, allocations: 354.5 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9703, allocations: 9.219 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.9703, allocations: 2.812 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.9704, allocations: 166.6 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.9705, allocations: 1.531 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.9705, allocations: 1.062 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.9706, allocations: 51.31 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.9706, allocations: 0 / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.9706, allocations: 0.8438 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9706, allocations: 0.7969 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.9707, allocations: 5.109 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.9708, allocations: 156.8 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.551e-05/0.9709, allocations: 21.12 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.9709, allocations: 12.52 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.9711, allocations: 100.1 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.9712, allocations: 40.59 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9712, allocations: 0 / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.9713, allocations: 46.38 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.9714, allocations: 52.44 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.9714, allocations: 102.3 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.9714, allocations: 25.7 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.809e-05/0.9715, allocations: 86.45 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.9715, allocations: 5.609 kB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.9715, allocations: 12.95 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.9716, allocations: 317.2 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.9716, allocations: 1.75 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.9716, allocations: 3.672 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.9717, allocations: 18.23 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9717, allocations: 1 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.974e-05/0.9717, allocations: 44.47 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9718, allocations: 6.031 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.9718, allocations: 0 / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.9718, allocations: 1.484 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.9719, allocations: 3.469 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9719, allocations: 0.6562 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.9719, allocations: 4.625 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.9719, allocations: 5.625 kB / 1.096 GB, free: 15.9 MB / 0.8731 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 (2): * Single equations (assignments): 2 * 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 7.666e-05/0.972, allocations: 108.7 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.972, allocations: 8.625 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.9722, allocations: 54.95 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.9722, allocations: 4.828 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9722, allocations: 3.938 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9722, allocations: 1.172 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.9723, allocations: 153.3 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.9723, allocations: 0 / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.9724, allocations: 8.453 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9724, allocations: 0 / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.9724, allocations: 5.297 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9724, allocations: 0.6562 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9724, allocations: 0.625 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.379e-05/0.9725, allocations: 69.81 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.9726, allocations: 88.12 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.9726, allocations: 1.656 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.9726, allocations: 0.6875 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.9726, allocations: 1.516 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.9726, allocations: 1.438 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.9727, allocations: 80.56 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9727, allocations: 0 / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000227/0.9729, allocations: 26.64 kB / 1.096 GB, free: 15.27 MB / 0.8731 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 (2): * Single equations (assignments): 2 * 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.0002314/0.9732, allocations: 133.4 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.603e-05/0.9733, allocations: 8.547 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9733, allocations: 0 / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.9733, allocations: 10.59 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.9735, allocations: 6.219 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.9739, allocations: 151.1 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.9741, allocations: 0.6803 MB / 1.097 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.9742, allocations: 9.562 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9742, allocations: 0 / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.002521/0.9767, allocations: 0.7261 MB / 1.098 GB, free: 14.26 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches