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.0008732/0.0008732, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009727/0.0009727, allocations: 161 kB / 23.82 MB, free: 0.7539 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.928/0.928, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.752/1.752, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.814e-06/1.814e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.399e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002594/0.002618, allocations: 1.347 MB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.007324, allocations: 3.865 MB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.007356, allocations: 3.531 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.007378, allocations: 3.938 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.007909, allocations: 107.4 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.008276, allocations: 136.1 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.008345, allocations: 23.88 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.008381, allocations: 8.672 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.0085, allocations: 32.5 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.984e-05/0.0086, allocations: 35.89 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.008613, allocations: 1.094 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.009105, allocations: 287.6 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.00912, allocations: 8.453 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.00914, allocations: 4 kB / 0.7928 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.009393, allocations: 144.9 kB / 0.793 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.009397, allocations: 3.984 kB / 0.793 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.009397, allocations: 3.938 kB / 0.793 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.009401, allocations: 1.094 kB / 0.793 GB, free: 6.477 MB / 0.7448 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.0003535/0.009754, allocations: 384.3 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.009796, allocations: 12.03 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.009832, allocations: 1.844 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.343e-05/0.009925, allocations: 120.5 kB / 0.7935 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.009941, allocations: 5.219 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.009952, allocations: 384 / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.01004, allocations: 35.28 kB / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01005, allocations: 192 / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.01006, allocations: 8.125 kB / 0.7935 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.01006, allocations: 2.219 kB / 0.7935 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.01009, allocations: 4 kB / 0.7935 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.01023, allocations: 116.6 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.01029, allocations: 31.09 kB / 0.7937 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.01031, allocations: 11.75 kB / 0.7937 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.01048, allocations: 22.89 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.0105, allocations: 33.39 kB / 0.7937 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.0105, allocations: 0 / 0.7937 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.01064, allocations: 45.62 kB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.01068, allocations: 60.81 kB / 0.7938 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.01077, allocations: 161.9 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.01078, allocations: 25.7 kB / 0.794 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.01082, allocations: 126.9 kB / 0.7941 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.01084, allocations: 8.578 kB / 0.7941 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.01089, allocations: 19.38 kB / 0.7941 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01103, allocations: 496.7 kB / 0.7946 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.01104, allocations: 0 / 0.7946 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.01105, allocations: 8.547 kB / 0.7946 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.01109, allocations: 16.69 kB / 0.7946 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01109, allocations: 1.188 kB / 0.7946 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.002e-05/0.01116, allocations: 41.64 kB / 0.7947 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01118, allocations: 8.875 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01118, allocations: 0 / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.0112, allocations: 0 / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.01125, allocations: 13.64 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.01125, allocations: 0 / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.01127, allocations: 0 / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.01127, allocations: 0 / 0.7947 GB, free: 4.504 MB / 0.7448 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 7.742e-05/0.01135, allocations: 161.4 kB / 0.7949 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.01136, allocations: 3.953 kB / 0.7949 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.01146, allocations: 49.88 kB / 0.7949 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01147, allocations: 9.094 kB / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01147, allocations: 7.938 kB / 0.7949 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01147, allocations: 0 / 0.7949 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.946e-05/0.01155, allocations: 108.6 kB / 0.795 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01156, allocations: 0.8438 kB / 0.795 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.01157, allocations: 7.984 kB / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01158, allocations: 1.312 kB / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01158, allocations: 0 / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01158, allocations: 0 / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01158, allocations: 0 / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.153e-05/0.01167, allocations: 84.12 kB / 0.7951 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.01168, allocations: 3.984 kB / 0.7951 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.0117, allocations: 4 kB / 0.7951 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.01171, allocations: 0 / 0.7951 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.01173, allocations: 7.938 kB / 0.7951 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.01173, allocations: 0 / 0.7951 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.01178, allocations: 131.1 kB / 0.7953 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01178, allocations: 0 / 0.7953 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002568/0.01203, allocations: 27.88 kB / 0.7953 GB, free: 3.84 MB / 0.7448 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.0001817/0.01222, allocations: 124.1 kB / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.0123, allocations: 24.7 kB / 0.7954 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01231, allocations: 0 / 0.7954 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/0.01232, allocations: 12.81 kB / 0.7954 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01251, allocations: 0 / 0.7954 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.01282, allocations: 138.8 kB / 0.7956 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.01285, allocations: 55.34 kB / 0.7956 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.01287, allocations: 6.469 kB / 0.7956 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.01289, allocations: 8.5 kB / 0.7956 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.01289, allocations: 0 / 0.7956 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.002282/0.01517, allocations: 0.7915 MB / 0.7964 GB, free: 2.648 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] 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","",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.840187318623066]