Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001984/0.001984, allocations: 84.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002167/0.002167, allocations: 170.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.805/2.805, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.423e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003053/0.003087, allocations: 1.312 MB / 0.9523 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005739/0.008826, allocations: 3.538 MB / 0.9557 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.008869, allocations: 0 / 0.9557 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.008886, allocations: 0 / 0.9557 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006457/0.009532, allocations: 115.3 kB / 0.9558 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.01, allocations: 131.5 kB / 0.956 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.01008, allocations: 31.86 kB / 0.956 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.01012, allocations: 0 / 0.956 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.01028, allocations: 31.89 kB / 0.956 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.0104, allocations: 35.91 kB / 0.956 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.01041, allocations: 0 / 0.956 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.01099, allocations: 295.5 kB / 0.9563 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.01101, allocations: 3.938 kB / 0.9563 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.01103, allocations: 4 kB / 0.9563 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.01137, allocations: 151.6 kB / 0.9565 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01137, allocations: 0 / 0.9565 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01137, allocations: 0 / 0.9565 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.01138, allocations: 0 / 0.9565 GB, free: 5.93 MB / 0.8575 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.0004883/0.01186, allocations: 282 kB / 0.9568 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01191, allocations: 16.02 kB / 0.9568 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.01195, allocations: 4.891 kB / 0.9568 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.01209, allocations: 113.8 kB / 0.9569 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.01211, allocations: 384 / 0.9569 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.01212, allocations: 4.312 kB / 0.9569 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.01223, allocations: 34.2 kB / 0.9569 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.01224, allocations: 192 / 0.9569 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.01226, allocations: 4.125 kB / 0.9569 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01226, allocations: 0 / 0.9569 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.01231, allocations: 11.98 kB / 0.9569 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.01249, allocations: 105.3 kB / 0.957 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.01257, allocations: 22.58 kB / 0.9571 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.01259, allocations: 12.92 kB / 0.9571 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.01283, allocations: 19.97 kB / 0.9571 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.01287, allocations: 38.5 kB / 0.9571 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.01287, allocations: 0 / 0.9571 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.01304, allocations: 37.7 kB / 0.9572 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.0131, allocations: 63.33 kB / 0.9572 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.01319, allocations: 97.86 kB / 0.9573 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01321, allocations: 29.83 kB / 0.9573 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.01327, allocations: 84.14 kB / 0.9574 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.0133, allocations: 7.953 kB / 0.9574 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.01333, allocations: 17.7 kB / 0.9574 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.01351, allocations: 310.8 kB / 0.9577 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.01352, allocations: 0 / 0.9577 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.01354, allocations: 7.938 kB / 0.9577 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.01358, allocations: 12.86 kB / 0.9578 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01358, allocations: 4 kB / 0.9578 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.873e-05/0.01366, allocations: 45.7 kB / 0.9578 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01367, allocations: 8.031 kB / 0.9578 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01368, allocations: 0 / 0.9578 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.0137, allocations: 4 kB / 0.9578 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.01376, allocations: 3.938 kB / 0.9578 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.01376, allocations: 0 / 0.9578 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.01379, allocations: 4.25 kB / 0.9578 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.01379, allocations: 4 kB / 0.9578 GB, free: 4.375 MB / 0.8575 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 9.589e-05/0.01389, allocations: 105.8 kB / 0.9579 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.0139, allocations: 7.938 kB / 0.9579 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01404, allocations: 52.94 kB / 0.958 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01404, allocations: 3.938 kB / 0.958 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.01405, allocations: 7.938 kB / 0.958 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01405, allocations: 0 / 0.958 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.01417, allocations: 105.3 kB / 0.9581 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01418, allocations: 0 / 0.9581 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.0142, allocations: 4 kB / 0.9581 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.0142, allocations: 0 / 0.9581 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.01421, allocations: 0 / 0.9581 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01421, allocations: 3.938 kB / 0.9581 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01421, allocations: 4.031 kB / 0.9581 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.01431, allocations: 76.95 kB / 0.9582 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.01433, allocations: 0 / 0.9582 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.01434, allocations: 4 kB / 0.9582 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.01436, allocations: 3.984 kB / 0.9582 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.01438, allocations: 7.922 kB / 0.9582 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.01438, allocations: 0 / 0.9582 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.01444, allocations: 83.28 kB / 0.9583 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01444, allocations: 0 / 0.9583 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000229/0.01467, allocations: 23.94 kB / 0.9583 GB, free: 3.824 MB / 0.8575 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.0002508/0.01492, allocations: 139.1 kB / 0.9584 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.01501, allocations: 8 kB / 0.9584 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.01501, allocations: 4 kB / 0.9584 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.01503, allocations: 7.938 kB / 0.9585 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.01527, allocations: 7.984 kB / 0.9585 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.01561, allocations: 112.9 kB / 0.9586 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.385e-05/0.01567, allocations: 63.48 kB / 0.9586 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.707e-05/0.0157, allocations: 3.984 kB / 0.9586 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.01573, allocations: 12.5 kB / 0.9586 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.01573, allocations: 0 / 0.9586 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of Templates: time 0.003671/0.0194, allocations: 0.7766 MB / 0.9594 GB, free: 2.656 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.278698805719614]