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.0009439/0.0009439, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001384/0.001384, allocations: 173 kB / 23.49 MB, free: 1.055 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.9282/0.9282, allocations: 177.1 MB / 203.8 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.015/2.015, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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 3.096e-06/3.096e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.928e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001884/0.001913, allocations: 1.347 MB / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.005621, allocations: 3.864 MB / 0.8833 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.005655, allocations: 4 kB / 0.8833 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.005677, allocations: 3.938 kB / 0.8833 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.0062, allocations: 101.4 kB / 0.8834 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.00646, allocations: 139.5 kB / 0.8835 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.006537, allocations: 27.86 kB / 0.8836 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.006585, allocations: 4 kB / 0.8836 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.006707, allocations: 31.84 kB / 0.8836 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.006799, allocations: 35.91 kB / 0.8836 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.006814, allocations: 0 / 0.8836 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.007181, allocations: 291.5 kB / 0.8839 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.007194, allocations: 0 / 0.8839 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.007219, allocations: 15.92 kB / 0.8839 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.007439, allocations: 151.6 kB / 0.8841 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007441, allocations: 0 / 0.8841 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007442, allocations: 0 / 0.8841 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.007448, allocations: 0 / 0.8841 GB, free: 0.625 MB / 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.0004006/0.007849, allocations: 384.3 kB / 0.8844 GB, free: 220 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.0079, allocations: 12.03 kB / 0.8844 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.007944, allocations: 8.891 kB / 0.8844 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.008051, allocations: 112.6 kB / 0.8846 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.008064, allocations: 384 / 0.8846 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.008074, allocations: 384 / 0.8846 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.008174, allocations: 38.25 kB / 0.8846 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.008183, allocations: 4.125 kB / 0.8846 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.008196, allocations: 4.125 kB / 0.8846 GB, free: 8 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.008206, allocations: 0 / 0.8846 GB, free: 8 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.008237, allocations: 4 kB / 0.8846 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.008398, allocations: 116.6 kB / 0.8847 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.008572, allocations: 27.09 kB / 0.8847 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.008595, allocations: 15.75 kB / 0.8848 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.008785, allocations: 19.98 kB / 0.8848 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.008809, allocations: 41.38 kB / 0.8848 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.00881, allocations: 0 / 0.8848 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.008967, allocations: 45.62 kB / 0.8849 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.009005, allocations: 59.34 kB / 0.8849 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.009089, allocations: 157.9 kB / 0.8851 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.0091, allocations: 29.7 kB / 0.8851 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.009144, allocations: 130.9 kB / 0.8852 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.00917, allocations: 7.953 kB / 0.8852 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.009203, allocations: 19.5 kB / 0.8852 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.009325, allocations: 0.4961 MB / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.009336, allocations: 0 / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.009345, allocations: 4 kB / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.009376, allocations: 15.62 kB / 0.8857 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009377, allocations: 0 / 0.8857 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.091e-05/0.009428, allocations: 41.91 kB / 0.8858 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.009445, allocations: 4 kB / 0.8858 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00945, allocations: 4 kB / 0.8858 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.009466, allocations: 8.094 kB / 0.8858 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.009525, allocations: 11.92 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.009533, allocations: 3.984 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.009545, allocations: 0 / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.00955, allocations: 0 / 0.8858 GB, free: 14.62 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.6e-05/0.009616, allocations: 152.6 kB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-06/0.009621, allocations: 4 kB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.009728, allocations: 48.94 kB / 0.886 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009729, allocations: 0 / 0.886 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.009735, allocations: 7.969 kB / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.009738, allocations: 4 kB / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.1e-05/0.009819, allocations: 116.6 kB / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009821, allocations: 0 / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.009833, allocations: 4 kB / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.009835, allocations: 0 / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009843, allocations: 0 / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.009843, allocations: 0 / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009844, allocations: 0 / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.009912, allocations: 88.27 kB / 0.8862 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.009928, allocations: 32 / 0.8862 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.009938, allocations: 4 kB / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-06/0.009945, allocations: 4 kB / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.009965, allocations: 3.938 kB / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.009968, allocations: 0 / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.01001, allocations: 131.2 kB / 0.8864 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01001, allocations: 0 / 0.8864 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001458/0.01015, allocations: 27.88 kB / 0.8864 GB, free: 13.96 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.0001674/0.01032, allocations: 131.1 kB / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.01041, allocations: 15.69 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01041, allocations: 0 / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.01042, allocations: 19.62 kB / 0.8865 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.01057, allocations: 4 kB / 0.8866 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.01087, allocations: 122.3 kB / 0.8867 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.01091, allocations: 59.34 kB / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.01093, allocations: 4.125 kB / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.01095, allocations: 12.5 kB / 0.8867 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01095, allocations: 0 / 0.8867 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.002611/0.01356, allocations: 0.7978 MB / 0.8875 GB, free: 12.76 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.478928428143263]