Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009529/0.0009529, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009129/0.0009129, allocations: 161 kB / 23.82 MB, free: 0.75 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.9502/0.9502, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.783/1.783, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.918e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002609/0.002639, allocations: 1.35 MB / 0.8129 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004821/0.007459, allocations: 3.862 MB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.00749, allocations: 0 / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.00751, allocations: 1.156 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.007962, allocations: 116.7 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.008226, allocations: 129.3 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.008288, allocations: 27.86 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.008321, allocations: 4 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.008425, allocations: 34.06 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.008502, allocations: 35.91 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.008513, allocations: 0 / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.008824, allocations: 295.5 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.008835, allocations: 3.984 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.008853, allocations: 6.719 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.009034, allocations: 155.5 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.009038, allocations: 0 / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009039, allocations: 0 / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.009043, allocations: 0 / 0.8174 GB, free: 11.72 MB / 0.7761 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.0003187/0.009362, allocations: 384.3 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.009398, allocations: 8.031 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.009432, allocations: 4.938 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.009508, allocations: 122 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.009519, allocations: 384 / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.009526, allocations: 384 / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/0.009599, allocations: 38.7 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.009605, allocations: 192 / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.009614, allocations: 5.594 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.009621, allocations: 3.984 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.009642, allocations: 4 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.009752, allocations: 115.2 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.009796, allocations: 31.09 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.009814, allocations: 11.75 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.009966, allocations: 23.91 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.009986, allocations: 37.89 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.009987, allocations: 0 / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000119/0.01011, allocations: 38.77 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.01013, allocations: 59.28 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.0102, allocations: 166.8 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.0102, allocations: 25.7 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.01023, allocations: 127.7 kB / 0.8186 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.01025, allocations: 3.953 kB / 0.8186 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.01028, allocations: 27.06 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.01037, allocations: 0.4884 MB / 0.8191 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.01038, allocations: 0 / 0.8191 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.01039, allocations: 7.938 kB / 0.8191 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.01042, allocations: 15.69 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.01042, allocations: 0 / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.233e-05/0.01046, allocations: 33.7 kB / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01047, allocations: 7.984 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01048, allocations: 0 / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.01049, allocations: 5.688 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.01053, allocations: 3.938 kB / 0.8192 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01054, allocations: 4 kB / 0.8192 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.01055, allocations: 0 / 0.8192 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.01055, allocations: 1.219 kB / 0.8192 GB, free: 9.75 MB / 0.7761 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.448e-05/0.01061, allocations: 160.5 kB / 0.8193 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.01074, allocations: 9.047 kB / 0.8193 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.297e-05/0.01083, allocations: 45 kB / 0.8194 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01083, allocations: 5.125 kB / 0.8194 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01083, allocations: 3.938 kB / 0.8194 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01084, allocations: 0 / 0.8194 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.595e-05/0.01089, allocations: 113.7 kB / 0.8195 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01089, allocations: 4 kB / 0.8195 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.0109, allocations: 0 / 0.8195 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01091, allocations: 4.719 kB / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.01091, allocations: 0 / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01091, allocations: 1.875 kB / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01091, allocations: 0 / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.339e-05/0.01097, allocations: 84.31 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.01098, allocations: 0 / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.01099, allocations: 1.344 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-06/0.011, allocations: 8 kB / 0.8196 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.01101, allocations: 7.875 kB / 0.8196 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.01101, allocations: 3.984 kB / 0.8196 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.01104, allocations: 124.2 kB / 0.8197 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01104, allocations: 0 / 0.8197 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001364/0.01118, allocations: 24.53 kB / 0.8197 GB, free: 9.09 MB / 0.7761 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.0001436/0.01132, allocations: 137.7 kB / 0.8199 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.01139, allocations: 19.62 kB / 0.8199 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01139, allocations: 4 kB / 0.8199 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.814e-06/0.0114, allocations: 7.688 kB / 0.8199 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.01152, allocations: 4 kB / 0.8199 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.01175, allocations: 140.5 kB / 0.82 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.739e-05/0.01178, allocations: 55.3 kB / 0.8201 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.0118, allocations: 9.562 kB / 0.8201 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.01182, allocations: 8.5 kB / 0.8201 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01182, allocations: 416 / 0.8201 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of Templates: time 0.002365/0.01418, allocations: 0.8759 MB / 0.821 GB, free: 7.789 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.726377220824361]