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.00119/0.00119, allocations: 93.06 kB / 19.65 MB, free: 276 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.00111/0.00111, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9412/0.9412, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.074/2.074, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.86e-05, allocations: 10.38 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002655/0.002683, allocations: 1.356 MB / 0.8795 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.006189, allocations: 3.863 MB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.006218, allocations: 1 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.006246, allocations: 7.938 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.006708, allocations: 101.6 kB / 0.8834 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.006948, allocations: 139.5 kB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.007015, allocations: 27.86 kB / 0.8836 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.007054, allocations: 7.984 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.00717, allocations: 31.84 kB / 0.8836 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.007269, allocations: 35.95 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.007282, allocations: 0 / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.007625, allocations: 287.5 kB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.007637, allocations: 0 / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.007657, allocations: 15.88 kB / 0.8839 GB, free: 456 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.007873, allocations: 147.6 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.007876, allocations: 0 / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.007877, allocations: 0 / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.007883, allocations: 0 / 0.8841 GB, free: 308 kB / 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.0004355/0.008318, allocations: 388.3 kB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.008356, allocations: 16.02 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.008396, allocations: 4.891 kB / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.008477, allocations: 112.6 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.008489, allocations: 4.375 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.008498, allocations: 384 / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.008576, allocations: 30.27 kB / 0.8846 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.008584, allocations: 8.125 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.008594, allocations: 4.125 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.008602, allocations: 3.938 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.008628, allocations: 11.97 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.008753, allocations: 112.6 kB / 0.8847 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/0.008806, allocations: 27.09 kB / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.008825, allocations: 15.73 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.00899, allocations: 27.98 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.009009, allocations: 33.39 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.00901, allocations: 0 / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.009149, allocations: 41.64 kB / 0.8849 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.009183, allocations: 59.33 kB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.009256, allocations: 157.9 kB / 0.8851 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.009265, allocations: 25.7 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.009302, allocations: 130.9 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.009327, allocations: 11.94 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.009351, allocations: 19.38 kB / 0.8853 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.009561, allocations: 496.2 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.009573, allocations: 0 / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.009582, allocations: 8 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.00961, allocations: 15.62 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.009612, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.137e-05/0.009663, allocations: 41.64 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.009677, allocations: 10.19 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.009683, allocations: 0 / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.009693, allocations: 0 / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.009747, allocations: 8.031 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.009752, allocations: 4 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.009763, allocations: 4 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.009768, allocations: 0 / 0.8858 GB, free: 14.3 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 6.089e-05/0.009829, allocations: 156.6 kB / 0.886 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-06/0.009832, allocations: 0 / 0.886 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.009929, allocations: 48.94 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00993, allocations: 4 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.009934, allocations: 3.938 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009937, allocations: 4.281 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.01001, allocations: 116.6 kB / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01002, allocations: 4 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.01003, allocations: 7.938 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01003, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.01004, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.01004, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.01004, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.41e-05/0.0101, allocations: 88.27 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.01012, allocations: 4 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.01013, allocations: 3.984 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.01014, allocations: 4.031 kB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.01015, allocations: 3.938 kB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.01015, allocations: 0 / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.01019, allocations: 123.2 kB / 0.8864 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01019, allocations: 0 / 0.8864 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001403/0.01033, allocations: 31.88 kB / 0.8864 GB, free: 13.64 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.0001433/0.01047, allocations: 131.1 kB / 0.8865 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.134e-05/0.01054, allocations: 15.69 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01055, allocations: 4.062 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.01056, allocations: 19.61 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.01069, allocations: 6.75 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.01094, allocations: 122.3 kB / 0.8867 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.01097, allocations: 51.36 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.01099, allocations: 8.062 kB / 0.8867 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.01101, allocations: 8.5 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/0.01101, allocations: 0 / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.00265/0.01366, allocations: 0.8758 MB / 0.8876 GB, free: 12.36 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.316257127095014]