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.001377/0.001377, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001134/0.001134, allocations: 165.9 kB / 24.86 MB, free: 9.281 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.9536/0.9536, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.763/1.763, allocations: 359 MB / 0.6063 GB, free: 10.91 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.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.727e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002703/0.002731, allocations: 1.352 MB / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004832/0.007562, allocations: 3.815 MB / 0.7934 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.007601, allocations: 5.531 kB / 0.7934 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.007621, allocations: 0 / 0.7934 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.008155, allocations: 111.8 kB / 0.7935 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.008506, allocations: 133.5 kB / 0.7936 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.008581, allocations: 35.8 kB / 0.7936 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.008617, allocations: 4.516 kB / 0.7936 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.008742, allocations: 24.64 kB / 0.7937 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.008842, allocations: 37.39 kB / 0.7937 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.008855, allocations: 0 / 0.7937 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.009367, allocations: 295.5 kB / 0.794 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.009381, allocations: 7.938 kB / 0.794 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.009396, allocations: 0.625 kB / 0.794 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.00965, allocations: 147.6 kB / 0.7941 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.009654, allocations: 1 kB / 0.7941 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.422e-06/0.009656, allocations: 0 / 0.7941 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.00966, allocations: 0.75 kB / 0.7941 GB, free: 6.262 MB / 0.7448 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.0006721/0.01033, allocations: 388.3 kB / 0.7945 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.01037, allocations: 8.688 kB / 0.7945 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.01041, allocations: 0.9375 kB / 0.7945 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.01051, allocations: 121.8 kB / 0.7946 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.01052, allocations: 384 / 0.7946 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-06/0.01052, allocations: 4.312 kB / 0.7946 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.979e-05/0.01059, allocations: 42.69 kB / 0.7947 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.0106, allocations: 1.219 kB / 0.7947 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.01061, allocations: 4.125 kB / 0.7947 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.01061, allocations: 0 / 0.7947 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.01064, allocations: 4.906 kB / 0.7947 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.01076, allocations: 93.27 kB / 0.7948 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.969e-05/0.01081, allocations: 31.92 kB / 0.7948 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.01083, allocations: 15.69 kB / 0.7948 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.01101, allocations: 22.14 kB / 0.7948 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.01104, allocations: 37.39 kB / 0.7949 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.01104, allocations: 0 / 0.7949 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000123/0.01116, allocations: 40.34 kB / 0.7949 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.0112, allocations: 51.41 kB / 0.795 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.01128, allocations: 165.9 kB / 0.7951 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.0113, allocations: 25.7 kB / 0.7951 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.01134, allocations: 130.9 kB / 0.7953 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.01137, allocations: 7.938 kB / 0.7953 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.0114, allocations: 21 kB / 0.7953 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01154, allocations: 0.4883 MB / 0.7958 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.01155, allocations: 4 kB / 0.7958 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.01155, allocations: 0 / 0.7958 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.01158, allocations: 12.44 kB / 0.7958 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01159, allocations: 0.5312 kB / 0.7958 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.194e-05/0.01166, allocations: 51.16 kB / 0.7958 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01167, allocations: 4 kB / 0.7958 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01168, allocations: 0 / 0.7958 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01169, allocations: 0 / 0.7958 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.01173, allocations: 5.094 kB / 0.7959 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01174, allocations: 7.875 kB / 0.7959 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.01175, allocations: 0 / 0.7959 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01176, allocations: 0.6562 kB / 0.7959 GB, free: 4.316 MB / 0.7448 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 8.145e-05/0.01184, allocations: 157.5 kB / 0.796 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.01185, allocations: 3.953 kB / 0.796 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.01196, allocations: 52.78 kB / 0.7961 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01196, allocations: 4 kB / 0.7961 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01196, allocations: 0 / 0.7961 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01197, allocations: 7.875 kB / 0.7961 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.586e-05/0.01205, allocations: 97.25 kB / 0.7962 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01205, allocations: 0 / 0.7962 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.01208, allocations: 4 kB / 0.7962 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01208, allocations: 0 / 0.7962 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.01209, allocations: 0 / 0.7962 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01209, allocations: 1.156 kB / 0.7962 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01209, allocations: 0 / 0.7962 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.01218, allocations: 84.31 kB / 0.7963 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.01219, allocations: 1 kB / 0.7963 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.01221, allocations: 4 kB / 0.7963 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.01222, allocations: 0 / 0.7963 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.01223, allocations: 5.047 kB / 0.7963 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.01224, allocations: 0 / 0.7963 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.01228, allocations: 127.2 kB / 0.7964 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01228, allocations: 1.125 kB / 0.7964 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00025/0.01253, allocations: 31.88 kB / 0.7964 GB, free: 3.688 MB / 0.7448 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.0001922/0.01272, allocations: 136.2 kB / 0.7965 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.0128, allocations: 17.25 kB / 0.7966 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.0128, allocations: 4 kB / 0.7966 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.01281, allocations: 7.688 kB / 0.7966 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.01299, allocations: 7.984 kB / 0.7966 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.01326, allocations: 133.6 kB / 0.7967 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.01329, allocations: 55.36 kB / 0.7968 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.01332, allocations: 4 kB / 0.7968 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.01337, allocations: 66.2 kB / 0.7968 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01337, allocations: 0 / 0.7968 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.003398/0.01677, allocations: 0.8834 MB / 0.7977 GB, free: 2.332 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.699903225991875]