Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 190.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7359, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002586/0.7385, allocations: 1.304 MB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005005/0.7435, allocations: 3.82 MB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.7436, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.7436, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.7441, allocations: 102.4 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.7445, allocations: 144.5 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.7445, allocations: 32.14 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.7446, allocations: 2.125 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.7447, allocations: 30.66 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.7448, allocations: 35.22 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.7448, allocations: 5.062 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.7453, allocations: 305.9 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.7453, allocations: 1.156 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.7453, allocations: 11.12 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.7456, allocations: 125.5 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7456, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7456, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7456, allocations: 1.375 kB / 1.224 GB, free: 15.04 MB / 0.9356 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.0004374/0.746, allocations: 354.1 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.7461, allocations: 13.25 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.7461, allocations: 5.984 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.7462, allocations: 162.5 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.7462, allocations: 384 / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.7462, allocations: 1.469 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.7463, allocations: 41.25 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.7463, allocations: 1.094 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.7463, allocations: 0 / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.7464, allocations: 0 / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.7464, allocations: 8.062 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.7466, allocations: 157.7 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/0.7466, allocations: 20.02 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.7466, allocations: 11.17 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.7469, allocations: 99.8 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.7469, allocations: 39.59 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.7469, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.7471, allocations: 48.03 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.7471, allocations: 56.52 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.7472, allocations: 99.17 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.7472, allocations: 26.83 kB / 1.225 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.7473, allocations: 80.14 kB / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.7473, allocations: 9.141 kB / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.7473, allocations: 24.61 kB / 1.225 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7475, allocations: 311.9 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.7475, allocations: 6.188 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.7475, allocations: 2.156 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.7475, allocations: 15.36 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7475, allocations: 0 / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.969e-05/0.7476, allocations: 47.62 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7476, allocations: 7.156 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7476, allocations: 5.062 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7476, allocations: 0 / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.7477, allocations: 3.25 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.7477, allocations: 1.188 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.7477, allocations: 256 / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.7477, allocations: 1.062 kB / 1.226 GB, free: 13.29 MB / 0.9356 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.435e-05/0.7478, allocations: 114.9 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.7478, allocations: 14.08 kB / 1.226 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.7479, allocations: 55.25 kB / 1.226 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7479, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7479, allocations: 1.062 kB / 1.226 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7479, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.748, allocations: 154.1 kB / 1.226 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.748, allocations: 0 / 1.226 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.7481, allocations: 11.27 kB / 1.226 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.7481, allocations: 0 / 1.226 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.7481, allocations: 1.219 kB / 1.226 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7481, allocations: 0 / 1.226 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7481, allocations: 5.062 kB / 1.226 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.526e-05/0.7482, allocations: 63 kB / 1.226 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.7482, allocations: 87.25 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.7482, allocations: 5 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.7482, allocations: 0 / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.7482, allocations: 1.094 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.7483, allocations: 1.094 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.7483, allocations: 91.23 kB / 1.226 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.7483, allocations: 0 / 1.226 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000259/0.7486, allocations: 25.97 kB / 1.226 GB, free: 12.62 MB / 0.9356 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.0001951/0.7488, allocations: 132.8 kB / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.7488, allocations: 11.83 kB / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7488, allocations: 0 / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.7489, allocations: 8.406 kB / 1.227 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.7491, allocations: 5.188 kB / 1.227 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.7493, allocations: 130.2 kB / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.7497, allocations: 0.6773 MB / 1.227 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.7497, allocations: 5.812 kB / 1.227 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.7497, allocations: 9.25 kB / 1.227 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7497, allocations: 4 kB / 1.227 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.003362/0.7531, allocations: 0.7591 MB / 1.228 GB, free: 11.29 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.19113186467439]