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.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.001766/0.001766, allocations: 114.2 kB / 17.08 MB, free: 6.012 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.001923/0.001923, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 489.2 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001988/0.001988, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002371/1.007, allocations: 1.3 MB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004113/1.011, allocations: 3.755 MB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/1.011, allocations: 0 / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/1.011, allocations: 1.5 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/1.011, allocations: 100.9 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/1.012, allocations: 142.3 kB / 1.268 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/1.012, allocations: 32.38 kB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/1.012, allocations: 1.719 kB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/1.012, allocations: 26.91 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/1.012, allocations: 38.42 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/1.012, allocations: 0.9375 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/1.013, allocations: 306.5 kB / 1.268 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/1.013, allocations: 5.031 kB / 1.268 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/1.013, allocations: 8.578 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/1.013, allocations: 123.6 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.013, allocations: 1.578 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.013, allocations: 0 / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.11e-06/1.013, allocations: 0 / 1.268 GB, free: 4.328 MB / 0.9981 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.0003577/1.013, allocations: 360.4 kB / 1.269 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.013, allocations: 9.781 kB / 1.269 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/1.014, allocations: 5.938 kB / 1.269 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.014, allocations: 166.7 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.014, allocations: 1.469 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.014, allocations: 6.219 kB / 1.269 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/1.014, allocations: 42.91 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.014, allocations: 0 / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.014, allocations: 0.6094 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.014, allocations: 0.8125 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/1.014, allocations: 8.875 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/1.014, allocations: 153.4 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/1.014, allocations: 20.73 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/1.014, allocations: 16.91 kB / 1.269 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/1.014, allocations: 96.22 kB / 1.269 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/1.014, allocations: 36 kB / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/1.014, allocations: 0 / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/1.014, allocations: 46.67 kB / 1.269 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.015, allocations: 56.38 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/1.015, allocations: 102.3 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/1.015, allocations: 26.58 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.726e-05/1.015, allocations: 81.44 kB / 1.269 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/1.015, allocations: 9.328 kB / 1.269 GB, free: 3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/1.015, allocations: 20.61 kB / 1.269 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/1.015, allocations: 313.7 kB / 1.27 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/1.015, allocations: 1.656 kB / 1.27 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/1.015, allocations: 7.125 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/1.015, allocations: 15.62 kB / 1.27 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.015, allocations: 0 / 1.27 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.079e-05/1.015, allocations: 44.69 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.015, allocations: 6.266 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.015, allocations: 0 / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.015, allocations: 0.7812 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/1.015, allocations: 3.766 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.015, allocations: 0.5938 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/1.015, allocations: 5.469 kB / 1.27 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/1.015, allocations: 0.75 kB / 1.27 GB, free: 2.605 MB / 0.9981 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.923e-05/1.015, allocations: 112.4 kB / 1.27 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/1.015, allocations: 9.484 kB / 1.27 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/1.015, allocations: 50.8 kB / 1.27 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.015, allocations: 3.938 kB / 1.27 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.015, allocations: 0.8438 kB / 1.27 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.015, allocations: 4.781 kB / 1.27 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.609e-05/1.015, allocations: 157.5 kB / 1.27 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.015, allocations: 0.9531 kB / 1.27 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/1.015, allocations: 11.97 kB / 1.27 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.015, allocations: 0.75 kB / 1.27 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.015, allocations: 0.625 kB / 1.27 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.015, allocations: 0.75 kB / 1.27 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.015, allocations: 0.75 kB / 1.27 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.878e-05/1.015, allocations: 65.58 kB / 1.27 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/1.015, allocations: 83.97 kB / 1.27 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/1.015, allocations: 5.406 kB / 1.27 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/1.016, allocations: 0.6875 kB / 1.27 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/1.016, allocations: 2.016 kB / 1.27 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/1.016, allocations: 1.312 kB / 1.27 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.538e-05/1.016, allocations: 84.27 kB / 1.27 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.016, allocations: 0.7188 kB / 1.27 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002134/1.016, allocations: 22.66 kB / 1.27 GB, free: 1.973 MB / 0.9981 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.0001817/1.016, allocations: 136.9 kB / 1.271 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/1.016, allocations: 12.97 kB / 1.271 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.016, allocations: 0 / 1.271 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/1.016, allocations: 9.516 kB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/1.016, allocations: 2.422 kB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/1.017, allocations: 167.3 kB / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/1.017, allocations: 0.6761 MB / 1.271 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/1.017, allocations: 10.16 kB / 1.271 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.017, allocations: 0 / 1.271 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of Templates: time 0.002587/1.019, allocations: 0.7278 MB / 1.272 GB, free: 0.9414 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.634523465996608]