Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8901/0.8901, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.814e-05, allocations: 10.22 kB / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001457/0.001475, allocations: 1.299 MB / 0.953 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.004298, allocations: 3.531 MB / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.004322, allocations: 0 / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.004339, allocations: 3.938 kB / 0.9565 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.00473, allocations: 107.4 kB / 0.9566 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.004944, allocations: 131.5 kB / 0.9567 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.005006, allocations: 31.84 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.005039, allocations: 4 kB / 0.9567 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.005134, allocations: 35.84 kB / 0.9568 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.005208, allocations: 39.89 kB / 0.9568 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.00522, allocations: 0 / 0.9568 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.005507, allocations: 287.5 kB / 0.9571 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.005516, allocations: 0 / 0.9571 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.005535, allocations: 8 kB / 0.9571 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.005721, allocations: 151.5 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005723, allocations: 0 / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005724, allocations: 3.938 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005728, allocations: 0 / 0.9572 GB, free: 13.32 MB / 0.9167 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.0003087/0.006037, allocations: 290 kB / 0.9575 GB, free: 13 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.006071, allocations: 12.03 kB / 0.9575 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.006101, allocations: 8.891 kB / 0.9575 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.006172, allocations: 109.7 kB / 0.9576 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.00618, allocations: 384 / 0.9576 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.006189, allocations: 4.375 kB / 0.9576 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.8e-05/0.006267, allocations: 30.27 kB / 0.9577 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.006273, allocations: 192 / 0.9577 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.006283, allocations: 4.125 kB / 0.9577 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.006287, allocations: 0 / 0.9577 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.006319, allocations: 7.984 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.006423, allocations: 105.3 kB / 0.9578 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.00647, allocations: 26.55 kB / 0.9578 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.006487, allocations: 12.84 kB / 0.9578 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.006631, allocations: 20.05 kB / 0.9578 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.006649, allocations: 30.56 kB / 0.9579 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.00665, allocations: 4 kB / 0.9579 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001178/0.006768, allocations: 41.66 kB / 0.9579 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.006802, allocations: 63.45 kB / 0.958 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.006859, allocations: 101.9 kB / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.006868, allocations: 29.64 kB / 0.9581 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.006893, allocations: 80.14 kB / 0.9582 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.006916, allocations: 11.89 kB / 0.9582 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.006938, allocations: 13.7 kB / 0.9582 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.007012, allocations: 318.8 kB / 0.9585 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.007023, allocations: 0 / 0.9585 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.007031, allocations: 4 kB / 0.9585 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.007057, allocations: 12.92 kB / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007059, allocations: 4 kB / 0.9585 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.15e-05/0.0071, allocations: 41.69 kB / 0.9586 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.00711, allocations: 4 kB / 0.9586 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007114, allocations: 0 / 0.9586 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.007124, allocations: 0 / 0.9586 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.007165, allocations: 11.88 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.007169, allocations: 0 / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.118e-06/0.007178, allocations: 0 / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.007182, allocations: 4 kB / 0.9586 GB, free: 11.77 MB / 0.9167 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 4.87e-05/0.007231, allocations: 113.9 kB / 0.9587 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-06/0.007234, allocations: 3.984 kB / 0.9587 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.007315, allocations: 56.88 kB / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007316, allocations: 0 / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.007321, allocations: 3.938 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007323, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.863e-05/0.007382, allocations: 109.3 kB / 0.9589 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.007382, allocations: 256 / 0.9589 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-06/0.007392, allocations: 4 kB / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007394, allocations: 4 kB / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.007399, allocations: 4.031 kB / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.0074, allocations: 0 / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.1e-07/0.0074, allocations: 3.938 kB / 0.9589 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.836e-05/0.007448, allocations: 69.02 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.007463, allocations: 4 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.007471, allocations: 4 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.007478, allocations: 3.984 kB / 0.9589 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.007492, allocations: 3.938 kB / 0.9589 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.007493, allocations: 0 / 0.9589 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.007517, allocations: 79.28 kB / 0.959 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007517, allocations: 4.031 kB / 0.959 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001366/0.007654, allocations: 31.88 kB / 0.9591 GB, free: 11.21 MB / 0.9167 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.0001381/0.007792, allocations: 139 kB / 0.9592 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.845e-05/0.00785, allocations: 11.94 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007852, allocations: 0 / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.007858, allocations: 4 kB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.007995, allocations: 11.98 kB / 0.9592 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.008219, allocations: 150.5 kB / 0.9594 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.008254, allocations: 59.36 kB / 0.9594 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.008271, allocations: 12.48 kB / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of SimCode: time 2.8e-07/0.008272, allocations: 0 / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of Templates: time 0.001469/0.009741, allocations: 0.7466 MB / 0.9602 GB, free: 10.02 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.3775648307055235]