Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.0008956/0.0008956, allocations: 80.83 kB / 20.75 MB, free: 3.73 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.0008968/0.0008968, allocations: 169 kB / 24.17 MB, free: 320 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.8792/0.8792, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.791/1.791, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.338e-06/4.338e-06, allocations: 4 kB / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/2.099e-05, allocations: 3.75 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003405/0.003426, allocations: 2.314 MB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.006597, allocations: 2.411 MB / 0.7647 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.006712, allocations: 4 kB / 0.7647 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.007981, allocations: 469.4 kB / 0.7651 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.008195, allocations: 104 kB / 0.7652 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.008472, allocations: 109.4 kB / 0.7653 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.009338, allocations: 0.8665 MB / 0.7662 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.009439, allocations: 30.48 kB / 0.7662 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.009968, allocations: 403.8 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.01041, allocations: 286.1 kB / 0.7669 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-05/0.01049, allocations: 48 kB / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.0106, allocations: 55.94 kB / 0.767 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.01085, allocations: 214 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.01109, allocations: 215.5 kB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.01167, allocations: 0.5023 MB / 0.7679 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01167, allocations: 4 kB / 0.7679 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.01168, allocations: 0 / 0.7679 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.01168, allocations: 0 / 0.7679 GB, free: 14.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001454/0.01313, allocations: 0.7565 MB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.01317, allocations: 8.031 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.01468, allocations: 305.9 kB / 0.7689 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.01503, allocations: 256.1 kB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01505, allocations: 25.28 kB / 0.7692 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.01514, allocations: 36.38 kB / 0.7692 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.01536, allocations: 126.3 kB / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.01537, allocations: 192 / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.01539, allocations: 5.125 kB / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.0154, allocations: 7.938 kB / 0.7693 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.01549, allocations: 37.56 kB / 0.7694 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.01744, allocations: 0.7589 MB / 0.7701 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/0.01821, allocations: 493.7 kB / 0.7706 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.01827, allocations: 34.69 kB / 0.7706 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.01828, allocations: 4.406 kB / 0.7706 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.0183, allocations: 44.44 kB / 0.7707 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.0183, allocations: 0 / 0.7707 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0003721/0.01867, allocations: 205 kB / 0.7709 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.01869, allocations: 51.41 kB / 0.7709 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.01887, allocations: 343.1 kB / 0.7712 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.01892, allocations: 38.64 kB / 0.7713 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.01899, allocations: 149.7 kB / 0.7714 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.01905, allocations: 100.2 kB / 0.7715 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.01919, allocations: 142.2 kB / 0.7716 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.01928, allocations: 354.7 kB / 0.772 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.01941, allocations: 103.8 kB / 0.7721 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.0196, allocations: 236.5 kB / 0.7723 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.01983, allocations: 266 kB / 0.7726 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01984, allocations: 0 / 0.7726 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004365/0.02027, allocations: 385 kB / 0.7729 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.0203, allocations: 33.7 kB / 0.773 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.0203, allocations: 5.891 kB / 0.773 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.02041, allocations: 23.69 kB / 0.773 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.02076, allocations: 128.9 kB / 0.7731 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.02132, allocations: 1.2 MB / 0.7743 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.0219, allocations: 71.45 kB / 0.7743 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.02193, allocations: 17.08 kB / 0.7744 GB, free: 7.652 MB / 0.7292 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.02203, allocations: 132.5 kB / 0.7745 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.02208, allocations: 33.34 kB / 0.7745 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.02211, allocations: 35.58 kB / 0.7746 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.02211, allocations: 4 kB / 0.7746 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.02211, allocations: 0 / 0.7746 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02212, allocations: 5.078 kB / 0.7746 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.02231, allocations: 189.6 kB / 0.7747 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02232, allocations: 0 / 0.7747 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.02244, allocations: 36.84 kB / 0.7748 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.243e-05/0.0225, allocations: 28.41 kB / 0.7748 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.02252, allocations: 12.77 kB / 0.7748 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005186/0.02304, allocations: 1.206 MB / 0.776 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02304, allocations: 1.062 kB / 0.776 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.02331, allocations: 350 kB / 0.7763 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.02335, allocations: 39.64 kB / 0.7764 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.0234, allocations: 8 kB / 0.7764 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.02366, allocations: 8.922 kB / 0.7764 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.02369, allocations: 19.91 kB / 0.7764 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.0237, allocations: 5.062 kB / 0.7764 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.974e-05/0.02378, allocations: 124.7 kB / 0.7765 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-08/0.02378, allocations: 0 / 0.7765 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003699/0.02415, allocations: 240.9 kB / 0.7768 GB, free: 5.047 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.76e-05/0.02424, allocations: 90.67 kB / 0.7768 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.02469, allocations: 431.8 kB / 0.7773 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.0247, allocations: 1.188 kB / 0.7773 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.02481, allocations: 187.3 kB / 0.7774 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.02512, allocations: 112 kB / 0.7775 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008297/0.02595, allocations: 0.7369 MB / 0.7783 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.02601, allocations: 117.2 kB / 0.7784 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000107/0.02612, allocations: 51.28 kB / 0.7784 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.02636, allocations: 145.2 kB / 0.7786 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.02636, allocations: 0 / 0.7786 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.00991/0.03627, allocations: 9.277 MB / 0.7876 GB, free: 10.1 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.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.848965516779572]