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.000923/0.000923, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.000913/0.000913, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9285/0.9285, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.037/2.037, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.393e-06/1.393e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.001e-05, allocations: 3.906 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002439/0.002469, allocations: 1.357 MB / 0.8807 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.00664, allocations: 3.826 MB / 0.8845 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.006674, allocations: 4 kB / 0.8845 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.006692, allocations: 0 / 0.8845 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.007149, allocations: 107.3 kB / 0.8846 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.007449, allocations: 139.5 kB / 0.8847 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.007514, allocations: 23.92 kB / 0.8847 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.007547, allocations: 4 kB / 0.8847 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.007652, allocations: 27.91 kB / 0.8848 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.007741, allocations: 43.83 kB / 0.8848 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.007752, allocations: 0 / 0.8848 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.00816, allocations: 287.6 kB / 0.8851 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.008173, allocations: 7.984 kB / 0.8851 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.008191, allocations: 15.92 kB / 0.8851 GB, free: 192 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.008404, allocations: 139.7 kB / 0.8852 GB, free: 52 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008406, allocations: 0 / 0.8852 GB, free: 52 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008407, allocations: 0 / 0.8852 GB, free: 52 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.008411, allocations: 4 kB / 0.8852 GB, free: 48 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.0003376/0.008748, allocations: 388.4 kB / 0.8856 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.008787, allocations: 8.031 kB / 0.8856 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.008817, allocations: 8.891 kB / 0.8856 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.008903, allocations: 112.5 kB / 0.8857 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.008913, allocations: 384 / 0.8857 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-06/0.008919, allocations: 4.375 kB / 0.8857 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.749e-05/0.008977, allocations: 30.25 kB / 0.8858 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.008984, allocations: 4.188 kB / 0.8858 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.008993, allocations: 8.125 kB / 0.8858 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.008997, allocations: 4 kB / 0.8858 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.525e-05/0.009012, allocations: 0 / 0.8858 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.009124, allocations: 97.25 kB / 0.8859 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.00917, allocations: 31.03 kB / 0.8859 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.009183, allocations: 11.75 kB / 0.8859 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.009329, allocations: 23.97 kB / 0.8859 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.009354, allocations: 41.33 kB / 0.886 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.009355, allocations: 4 kB / 0.886 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001055/0.00946, allocations: 37.69 kB / 0.886 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.009492, allocations: 59.34 kB / 0.8861 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.009564, allocations: 161.9 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.009574, allocations: 25.7 kB / 0.8863 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.009611, allocations: 126.9 kB / 0.8864 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.009635, allocations: 15.94 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.009666, allocations: 15.38 kB / 0.8864 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.009784, allocations: 496.1 kB / 0.8869 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.009792, allocations: 0 / 0.8869 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.009803, allocations: 12.11 kB / 0.8869 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.009826, allocations: 11.69 kB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009828, allocations: 0 / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.995e-05/0.009888, allocations: 45.64 kB / 0.8869 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.0099, allocations: 7.938 kB / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.009904, allocations: 0 / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.009912, allocations: 0 / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.816e-05/0.009951, allocations: 4 kB / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.009954, allocations: 3.938 kB / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.009967, allocations: 352 / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.009972, allocations: 11.98 kB / 0.887 GB, free: 14.07 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.225e-05/0.01003, allocations: 152.6 kB / 0.8871 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.01004, allocations: 4 kB / 0.8871 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.912e-05/0.01013, allocations: 49 kB / 0.8872 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01013, allocations: 0 / 0.8872 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01013, allocations: 0 / 0.8872 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01014, allocations: 3.938 kB / 0.8872 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.01021, allocations: 97.25 kB / 0.8873 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01021, allocations: 0 / 0.8873 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.01023, allocations: 11.97 kB / 0.8873 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01023, allocations: 0 / 0.8873 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.01024, allocations: 0 / 0.8873 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.01024, allocations: 0 / 0.8873 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.01024, allocations: 7.984 kB / 0.8873 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.606e-05/0.01031, allocations: 76.34 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01032, allocations: 7.938 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.01033, allocations: 3.984 kB / 0.8874 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.01034, allocations: 0 / 0.8874 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.01035, allocations: 0 / 0.8874 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.01036, allocations: 8.031 kB / 0.8874 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001295/0.01049, allocations: 119.2 kB / 0.8875 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01049, allocations: 0 / 0.8875 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002328/0.01072, allocations: 35.86 kB / 0.8875 GB, free: 13.44 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.0001578/0.01088, allocations: 131.1 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.93e-05/0.01094, allocations: 15.62 kB / 0.8877 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01094, allocations: 4 kB / 0.8877 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.01095, allocations: 11.67 kB / 0.8877 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01111, allocations: 12.06 kB / 0.8877 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.01132, allocations: 122.3 kB / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.01135, allocations: 55.36 kB / 0.8879 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.01137, allocations: 4 kB / 0.8879 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.01141, allocations: 74.19 kB / 0.8879 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01141, allocations: 4 kB / 0.8879 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.002771/0.01418, allocations: 0.8894 MB / 0.8888 GB, free: 12.08 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.1785628367215395]