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.001712/0.001712, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001802/0.001802, allocations: 198.9 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.284/2.284, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.5 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2957, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002452/0.2982, allocations: 1.35 MB / 0.9511 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004031/0.3022, allocations: 3.74 MB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.3023, allocations: 0 / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.3023, allocations: 0 / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.3028, allocations: 87.55 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.3031, allocations: 123.7 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.3032, allocations: 27.81 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.3032, allocations: 3.984 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3033, allocations: 31.91 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.3034, allocations: 35.91 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3034, allocations: 0 / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.3039, allocations: 303.6 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.3039, allocations: 0 / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.3039, allocations: 15.86 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3041, allocations: 84.09 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3041, allocations: 4 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3041, allocations: 3.938 kB / 0.9554 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.108e-06/0.3041, allocations: 0 / 0.9554 GB, free: 3.398 MB / 0.7325 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.0004071/0.3046, allocations: 351.5 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3046, allocations: 8.031 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3046, allocations: 12.83 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3048, allocations: 160.4 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3048, allocations: 384 / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-06/0.3048, allocations: 384 / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.3049, allocations: 41.83 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3049, allocations: 0 / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3049, allocations: 0 / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3049, allocations: 4 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.305, allocations: 11.92 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.3051, allocations: 149.7 kB / 0.9561 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.3052, allocations: 26.5 kB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.3052, allocations: 12.92 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.3055, allocations: 97.09 kB / 0.9563 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3055, allocations: 34.5 kB / 0.9563 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3055, allocations: 4 kB / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.3057, allocations: 45.53 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.3057, allocations: 55.53 kB / 0.9564 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.3058, allocations: 109.8 kB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3058, allocations: 25.7 kB / 0.9565 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.3058, allocations: 84.14 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3059, allocations: 0 / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.3059, allocations: 13.72 kB / 0.9566 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.306, allocations: 314.8 kB / 0.9569 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.306, allocations: 4 kB / 0.9569 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.3061, allocations: 7.984 kB / 0.9569 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.3061, allocations: 12.92 kB / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3061, allocations: 0 / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.262e-05/0.3062, allocations: 53.48 kB / 0.957 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3062, allocations: 6.344 kB / 0.957 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3062, allocations: 0 / 0.957 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3062, allocations: 0 / 0.957 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.3063, allocations: 4 kB / 0.957 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3063, allocations: 3.984 kB / 0.957 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.3063, allocations: 32 / 0.957 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3063, allocations: 4 kB / 0.957 GB, free: 1.535 MB / 0.7325 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 6.977e-05/0.3064, allocations: 113.3 kB / 0.9571 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.3064, allocations: 7.938 kB / 0.9571 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3065, allocations: 56.69 kB / 0.9572 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3065, allocations: 0 / 0.9572 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3065, allocations: 0 / 0.9572 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3065, allocations: 3.984 kB / 0.9572 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.535e-05/0.3066, allocations: 153.7 kB / 0.9573 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3066, allocations: 0 / 0.9573 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.3067, allocations: 7.938 kB / 0.9573 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3067, allocations: 0 / 0.9573 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3067, allocations: 3.938 kB / 0.9573 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3067, allocations: 0 / 0.9573 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3067, allocations: 0 / 0.9573 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.062e-05/0.3068, allocations: 69.12 kB / 0.9574 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3068, allocations: 92.92 kB / 0.9575 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.3069, allocations: 4 kB / 0.9575 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.3069, allocations: 0 / 0.9575 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3069, allocations: 3.984 kB / 0.9575 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3069, allocations: 0 / 0.9575 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.3069, allocations: 87.47 kB / 0.9576 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3069, allocations: 0 / 0.9576 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002008/0.3072, allocations: 28 kB / 0.9576 GB, free: 0.8125 MB / 0.7325 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.0001888/0.3073, allocations: 135.2 kB / 0.9578 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.3074, allocations: 8 kB / 0.9578 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3074, allocations: 0 / 0.9578 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.3075, allocations: 4 kB / 0.9578 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.3077, allocations: 4 kB / 0.9578 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.308, allocations: 173.5 kB / 0.9579 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3082, allocations: 0.6729 MB / 0.9586 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.3083, allocations: 7.438 kB / 0.9586 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 1.9e-07/0.3083, allocations: 0 / 0.9586 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.002074/0.3103, allocations: 0.7283 MB / 0.9593 GB, free: 15.02 MB / 0.7481 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