Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001991/0.001991, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.003101/0.003101, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.516/1.516, allocations: 230.5 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 69.02 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002437/0.3316, allocations: 1.316 MB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004919/0.3365, allocations: 3.826 MB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.3365, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.3365, allocations: 3.938 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.337, allocations: 115.5 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3373, allocations: 127.6 kB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.3374, allocations: 27.86 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.3374, allocations: 7.922 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3375, allocations: 27.86 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3376, allocations: 35.95 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.3377, allocations: 7.938 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.3382, allocations: 299.6 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.3382, allocations: 7.984 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.3382, allocations: 7.938 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3385, allocations: 127.6 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3385, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3385, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.3385, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 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.0004964/0.339, allocations: 359.1 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.339, allocations: 15.98 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.339, allocations: 8.891 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3392, allocations: 164.4 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3392, allocations: 384 / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3392, allocations: 4.375 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3393, allocations: 41.75 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3393, allocations: 0 / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.3393, allocations: 0 / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3393, allocations: 4 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.3394, allocations: 7.938 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.3396, allocations: 157.7 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.3396, allocations: 22.58 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.3396, allocations: 12.86 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.3399, allocations: 97.08 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3399, allocations: 42.5 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3399, allocations: 0 / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.3401, allocations: 37.7 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3401, allocations: 55.41 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.3402, allocations: 101.8 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3402, allocations: 25.7 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.3403, allocations: 80.14 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3403, allocations: 11.94 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.3403, allocations: 17.84 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3405, allocations: 318.8 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.3405, allocations: 3.938 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.3405, allocations: 4 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/0.3406, allocations: 12.86 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3406, allocations: 0 / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.22e-05/0.3406, allocations: 49.58 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3407, allocations: 7.938 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3407, allocations: 4.094 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3407, allocations: 0 / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.3407, allocations: 4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3407, allocations: 3.984 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.3407, allocations: 4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.3408, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 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.791e-05/0.3408, allocations: 116.6 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.3408, allocations: 3.938 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.341, allocations: 52.81 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.341, allocations: 0 / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.341, allocations: 0 / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.341, allocations: 0 / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3411, allocations: 157.6 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3411, allocations: 0 / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.3411, allocations: 11.88 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3411, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.3411, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3411, allocations: 3.984 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3411, allocations: 8.281 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.3412, allocations: 61.08 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.3413, allocations: 92.98 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3413, allocations: 4 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.856e-05/0.3413, allocations: 3.984 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.3413, allocations: 0 / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3413, allocations: 0 / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.3414, allocations: 87.31 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002178/0.3416, allocations: 27.92 kB / 1.329 GB, free: 10.25 MB / 1.029 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.0002123/0.3418, allocations: 133.4 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.777e-05/0.3419, allocations: 15.94 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3419, allocations: 0 / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.3419, allocations: 7.984 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3422, allocations: 128 / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.3425, allocations: 131.7 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3428, allocations: 0.6768 MB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3428, allocations: 11.88 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3429, allocations: 7.438 kB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3429, allocations: 4 kB / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of Templates: time 0.003456/0.3463, allocations: 0.743 MB / 1.331 GB, free: 8.477 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.802188630215824]