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.001599/0.001599, allocations: 80.41 kB / 20.23 MB, free: 4.18 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.001701/0.001701, allocations: 161.3 kB / 23.54 MB, free: 0.8711 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.422e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003038/0.003072, allocations: 1.313 MB / 0.8121 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006595/0.009666, allocations: 3.531 MB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.009712, allocations: 0 / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.009736, allocations: 0 / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006387/0.01038, allocations: 101.3 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.01083, allocations: 136.8 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.01093, allocations: 37.16 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.01097, allocations: 0 / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.01113, allocations: 27.86 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.01126, allocations: 40.52 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.01128, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000624/0.0119, allocations: 292.1 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.01192, allocations: 6 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.01195, allocations: 7.984 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.01231, allocations: 151.5 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01231, allocations: 0 / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01231, allocations: 0 / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.01232, allocations: 0 / 0.8163 GB, free: 12.47 MB / 0.7761 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.000541/0.01286, allocations: 282.5 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.01291, allocations: 12.75 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.01296, allocations: 4.922 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.01311, allocations: 111.2 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.01313, allocations: 384 / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.01314, allocations: 384 / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.01327, allocations: 38.81 kB / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01328, allocations: 192 / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.01329, allocations: 5.188 kB / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.0133, allocations: 4 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.01334, allocations: 0 / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.01354, allocations: 114 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.01361, allocations: 23.3 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.01364, allocations: 8.922 kB / 0.8169 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.01388, allocations: 17.73 kB / 0.8169 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.01393, allocations: 38.5 kB / 0.817 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.01393, allocations: 1.344 kB / 0.817 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.01413, allocations: 45.69 kB / 0.817 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.01419, allocations: 55.34 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.01431, allocations: 102.8 kB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.01434, allocations: 29.7 kB / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.0144, allocations: 80.14 kB / 0.8173 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.01443, allocations: 6.266 kB / 0.8173 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.01447, allocations: 17.72 kB / 0.8173 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.01466, allocations: 310.8 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.01468, allocations: 7.938 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.01469, allocations: 3.984 kB / 0.8176 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.01474, allocations: 24.23 kB / 0.8176 GB, free: 11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01474, allocations: 0 / 0.8176 GB, free: 11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.372e-05/0.01483, allocations: 37.7 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.01485, allocations: 8 kB / 0.8177 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01486, allocations: 0 / 0.8177 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.01488, allocations: 0 / 0.8177 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.01495, allocations: 7.938 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01496, allocations: 3.984 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.01498, allocations: 0.7812 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.01499, allocations: 0 / 0.8177 GB, free: 10.94 MB / 0.7761 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 0.000102/0.01509, allocations: 110.3 kB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.0151, allocations: 0.5625 kB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.01526, allocations: 61.39 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01526, allocations: 0.7812 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.01527, allocations: 5.438 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.01527, allocations: 4 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.0154, allocations: 101.3 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0154, allocations: 0 / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.01544, allocations: 8.484 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01544, allocations: 0 / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.01545, allocations: 0.8438 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.01545, allocations: 4 kB / 0.8179 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01545, allocations: 1.094 kB / 0.8179 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.01558, allocations: 69.02 kB / 0.818 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.0156, allocations: 4.484 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.01561, allocations: 0.6562 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.01563, allocations: 0 / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.01565, allocations: 9.188 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.01566, allocations: 0 / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.791e-05/0.01573, allocations: 87.27 kB / 0.8181 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01573, allocations: 0 / 0.8181 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002591/0.01598, allocations: 23.84 kB / 0.8181 GB, free: 10.4 MB / 0.7761 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.0002715/0.01626, allocations: 139 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.01635, allocations: 15.98 kB / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01635, allocations: 0 / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.01637, allocations: 7.938 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01662, allocations: 1.688 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.01701, allocations: 122.4 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.485e-05/0.01709, allocations: 60.38 kB / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.01712, allocations: 5.094 kB / 0.8185 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.01715, allocations: 8.5 kB / 0.8185 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01715, allocations: 1.062 kB / 0.8185 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of Templates: time 0.00435/0.0215, allocations: 0.7926 MB / 0.8193 GB, free: 9.23 MB / 0.7761 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.225597070995718]