Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001945/0.001945, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002565/0.002565, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.28/3.28, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.394e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002952/0.002986, allocations: 1.313 MB / 0.8789 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006089/0.009074, allocations: 3.541 MB / 0.8824 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.009115, allocations: 0.7188 kB / 0.8824 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.009135, allocations: 0 / 0.8824 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005836/0.009719, allocations: 105.1 kB / 0.8825 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.01015, allocations: 133.8 kB / 0.8826 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.01025, allocations: 27.86 kB / 0.8826 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.01029, allocations: 8 kB / 0.8826 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.01045, allocations: 37.02 kB / 0.8827 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.01056, allocations: 31.91 kB / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.01057, allocations: 0 / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.01115, allocations: 297.1 kB / 0.883 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.01116, allocations: 0 / 0.883 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.0112, allocations: 4 kB / 0.883 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.01152, allocations: 155.5 kB / 0.8831 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01153, allocations: 2.438 kB / 0.8831 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01153, allocations: 0 / 0.8831 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.01153, allocations: 0 / 0.8831 GB, free: 0.8398 MB / 0.8386 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.000486/0.01202, allocations: 286 kB / 0.8834 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.01206, allocations: 8.031 kB / 0.8834 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.01211, allocations: 4.938 kB / 0.8834 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.01224, allocations: 109.8 kB / 0.8835 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.01225, allocations: 2.469 kB / 0.8835 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.01226, allocations: 384 / 0.8835 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.01238, allocations: 38.2 kB / 0.8836 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.01239, allocations: 192 / 0.8836 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.0124, allocations: 4.125 kB / 0.8836 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.0124, allocations: 4 kB / 0.8836 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.01245, allocations: 7.984 kB / 0.8836 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.01268, allocations: 101.3 kB / 0.8837 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.01275, allocations: 22.61 kB / 0.8837 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.01278, allocations: 8.844 kB / 0.8837 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.01302, allocations: 24.05 kB / 0.8837 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.01306, allocations: 34.5 kB / 0.8837 GB, free: 92 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.601e-06/0.01306, allocations: 8 kB / 0.8838 GB, free: 84 kB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001926/0.01325, allocations: 41.69 kB / 0.8838 GB, free: 36 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.01332, allocations: 59.34 kB / 0.8839 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.01343, allocations: 93.86 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.01345, allocations: 29.7 kB / 0.884 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.0135, allocations: 80.14 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.01353, allocations: 11.89 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.01357, allocations: 13.7 kB / 0.8841 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01375, allocations: 318.8 kB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.01376, allocations: 0 / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.01378, allocations: 8.125 kB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.01382, allocations: 16.8 kB / 0.8844 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01383, allocations: 4 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.608e-05/0.01391, allocations: 41.89 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01393, allocations: 4 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01393, allocations: 0 / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.01396, allocations: 8 kB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.01403, allocations: 3.938 kB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.01404, allocations: 4 kB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.01406, allocations: 0 / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.01406, allocations: 4.094 kB / 0.8845 GB, free: 15.29 MB / 0.8542 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 9.345e-05/0.01416, allocations: 109.8 kB / 0.8846 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.01417, allocations: 11.92 kB / 0.8846 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.01431, allocations: 48.94 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01432, allocations: 4 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.01432, allocations: 3.938 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01433, allocations: 0 / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.01444, allocations: 105.3 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01444, allocations: 0 / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.01446, allocations: 8.031 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01447, allocations: 0 / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01447, allocations: 0 / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01447, allocations: 0 / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01447, allocations: 0 / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.01459, allocations: 73 kB / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.01461, allocations: 7.953 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.01462, allocations: 0 / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.01464, allocations: 3.984 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.01466, allocations: 3.938 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.01466, allocations: 8.031 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.01472, allocations: 79.28 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01472, allocations: 0 / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002574/0.01498, allocations: 27.88 kB / 0.8849 GB, free: 14.74 MB / 0.8542 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.0002472/0.01522, allocations: 135.1 kB / 0.8851 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.51e-05/0.01531, allocations: 8 kB / 0.8851 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01531, allocations: 0 / 0.8851 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.01533, allocations: 7.938 kB / 0.8851 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01556, allocations: 16.11 kB / 0.8851 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.01592, allocations: 112.8 kB / 0.8852 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.641e-05/0.01598, allocations: 59.36 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.01601, allocations: 3.984 kB / 0.8853 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.01605, allocations: 12.5 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of SimCode: time 3.8e-07/0.01605, allocations: 0 / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.003796/0.01984, allocations: 0.7829 MB / 0.886 GB, free: 13.57 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.491647131973878]