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.00143/0.00143, allocations: 93.16 kB / 19.65 MB, free: 288 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.001879/0.001879, allocations: 168.9 kB / 23.01 MB, free: 1.562 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.9747/0.9747, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.057/2.057, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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.984e-06/1.984e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.548e-05, allocations: 4.469 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001733/0.001758, allocations: 1.349 MB / 0.8795 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.00497, allocations: 3.875 MB / 0.8833 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.004998, allocations: 0 / 0.8833 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.005016, allocations: 4 kB / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.00543, allocations: 99.42 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.005672, allocations: 139.5 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.005729, allocations: 27.86 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.005764, allocations: 0 / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005868, allocations: 35.84 kB / 0.8836 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.00595, allocations: 35.91 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.005962, allocations: 3.984 kB / 0.8836 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.006282, allocations: 291.5 kB / 0.8839 GB, free: 460 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.006292, allocations: 7.984 kB / 0.8839 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.006311, allocations: 8 kB / 0.8839 GB, free: 444 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.006495, allocations: 147.6 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006497, allocations: 0 / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006497, allocations: 0 / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.006502, allocations: 0 / 0.8841 GB, free: 296 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.0003032/0.006805, allocations: 388.3 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.006839, allocations: 8.031 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.006873, allocations: 8.891 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.006944, allocations: 116.5 kB / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.006953, allocations: 384 / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.006961, allocations: 4.375 kB / 0.8846 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.958e-05/0.007031, allocations: 34.2 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.007038, allocations: 192 / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.007046, allocations: 4.125 kB / 0.8846 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.007053, allocations: 0 / 0.8846 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.007075, allocations: 8 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.007181, allocations: 120.6 kB / 0.8847 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.007225, allocations: 27.06 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.00724, allocations: 7.688 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.007382, allocations: 28.03 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.007406, allocations: 37.33 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.007406, allocations: 4 kB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.007521, allocations: 37.7 kB / 0.8849 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.007547, allocations: 55.34 kB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.007615, allocations: 169.9 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.007623, allocations: 25.7 kB / 0.8851 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.007662, allocations: 130.9 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.007683, allocations: 3.953 kB / 0.8852 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.007708, allocations: 19.38 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.007812, allocations: 0.4884 MB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.007824, allocations: 4 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.007831, allocations: 0 / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.007854, allocations: 23.75 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007856, allocations: 4 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.683e-05/0.007903, allocations: 41.66 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.007916, allocations: 10.64 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.00792, allocations: 0 / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.007934, allocations: 0 / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.438e-05/0.007978, allocations: 11.92 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.007983, allocations: 0 / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.007993, allocations: 0 / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.007998, allocations: 4 kB / 0.8858 GB, free: 14.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 5.386e-05/0.008052, allocations: 156.6 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.008057, allocations: 7.938 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.404e-05/0.008141, allocations: 45 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008143, allocations: 0 / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008146, allocations: 3.938 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.008149, allocations: 0 / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.779e-05/0.008207, allocations: 116.6 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008208, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.008218, allocations: 4 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008219, allocations: 4.031 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.008224, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008226, allocations: 4 kB / 0.8861 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008226, allocations: 0 / 0.8861 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.421e-05/0.008281, allocations: 84.27 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.008293, allocations: 4 kB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.008301, allocations: 0 / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-06/0.008307, allocations: 0 / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.008323, allocations: 7.938 kB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.008324, allocations: 256 / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.008358, allocations: 139.2 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008358, allocations: 0 / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001449/0.008503, allocations: 23.88 kB / 0.8864 GB, free: 13.62 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.0001486/0.008652, allocations: 127.2 kB / 0.8865 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.472e-05/0.008717, allocations: 15.69 kB / 0.8865 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.008718, allocations: 3.938 kB / 0.8865 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.008729, allocations: 15.62 kB / 0.8865 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.0001283/0.008857, allocations: 9.875 kB / 0.8866 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.009082, allocations: 130.5 kB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.009109, allocations: 55.36 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.009127, allocations: 0 / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.009145, allocations: 16.44 kB / 0.8867 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.009145, allocations: 4 kB / 0.8867 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.002226/0.01137, allocations: 0.7834 MB / 0.8875 GB, free: 12.42 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.288324858993292]