Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001023/0.001023, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001138/0.001138, allocations: 169 kB / 24.06 MB, free: 456 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.9923/0.9923, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.058/2.058, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.417e-05, allocations: 9.859 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002635/0.00266, allocations: 2.316 MB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.004959, allocations: 2.37 MB / 0.884 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.005056, allocations: 7.938 kB / 0.884 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.006088, allocations: 450.6 kB / 0.8844 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.006268, allocations: 107.2 kB / 0.8845 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.006497, allocations: 109.1 kB / 0.8847 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.007132, allocations: 0.859 MB / 0.8855 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.007227, allocations: 28.58 kB / 0.8855 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.007608, allocations: 403.3 kB / 0.8859 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.007931, allocations: 291.3 kB / 0.8862 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.007986, allocations: 48 kB / 0.8862 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.00815, allocations: 60 kB / 0.8863 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.008324, allocations: 215.5 kB / 0.8865 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.008481, allocations: 211.6 kB / 0.8867 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.008892, allocations: 0.4946 MB / 0.8872 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.008897, allocations: 4 kB / 0.8872 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/0.008899, allocations: 0 / 0.8872 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.008905, allocations: 0 / 0.8872 GB, free: 14.06 MB / 0.8542 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.001127/0.01003, allocations: 0.9026 MB / 0.8881 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.01007, allocations: 8.031 kB / 0.8881 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.01132, allocations: 288.4 kB / 0.8883 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.01165, allocations: 286.9 kB / 0.8886 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.01167, allocations: 24.38 kB / 0.8886 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.01173, allocations: 44.31 kB / 0.8887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.01188, allocations: 118.9 kB / 0.8888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.01189, allocations: 4.125 kB / 0.8888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.0119, allocations: 4.375 kB / 0.8888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.01191, allocations: 7.938 kB / 0.8888 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/0.01197, allocations: 43.95 kB / 0.8888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.01395, allocations: 0.9327 MB / 0.8898 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.01477, allocations: 462.7 kB / 0.8902 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.01483, allocations: 44.08 kB / 0.8902 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.01484, allocations: 7.859 kB / 0.8903 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.01487, allocations: 41.31 kB / 0.8903 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.01487, allocations: 0 / 0.8903 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0004605/0.01533, allocations: 242.8 kB / 0.8905 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.01535, allocations: 55.41 kB / 0.8906 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.01559, allocations: 430.4 kB / 0.891 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.01563, allocations: 45.69 kB / 0.891 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01575, allocations: 231.9 kB / 0.8913 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.01582, allocations: 103.1 kB / 0.8913 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.01598, allocations: 167.8 kB / 0.8915 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01613, allocations: 0.5429 MB / 0.892 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.01628, allocations: 114.9 kB / 0.8921 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.0165, allocations: 280.9 kB / 0.8924 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.01677, allocations: 261 kB / 0.8927 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01677, allocations: 0 / 0.8927 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005986/0.01737, allocations: 0.4922 MB / 0.8931 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.0174, allocations: 37.69 kB / 0.8932 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01741, allocations: 0 / 0.8932 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.01761, allocations: 23.67 kB / 0.8932 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.01801, allocations: 135.7 kB / 0.8933 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007888/0.0188, allocations: 1.713 MB / 0.895 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.01952, allocations: 71.45 kB / 0.8951 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.01955, allocations: 15.98 kB / 0.8951 GB, free: 5.547 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 (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.0001182/0.01967, allocations: 184.6 kB / 0.8953 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.01973, allocations: 47.64 kB / 0.8953 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.01977, allocations: 43.56 kB / 0.8954 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01977, allocations: 4.031 kB / 0.8954 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01977, allocations: 4 kB / 0.8954 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01978, allocations: 3.984 kB / 0.8954 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.02003, allocations: 225 kB / 0.8956 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02003, allocations: 0 / 0.8956 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.02017, allocations: 39.98 kB / 0.8956 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.54e-05/0.02025, allocations: 27.66 kB / 0.8956 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.02027, allocations: 15.92 kB / 0.8957 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000645/0.02092, allocations: 1.713 MB / 0.8973 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02092, allocations: 0 / 0.8973 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.02125, allocations: 406.7 kB / 0.8977 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.0213, allocations: 43.75 kB / 0.8978 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.02133, allocations: 8 kB / 0.8978 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.02163, allocations: 4 kB / 0.8978 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.02167, allocations: 19.95 kB / 0.8978 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.02168, allocations: 8 kB / 0.8978 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001234/0.02181, allocations: 255 kB / 0.898 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.02181, allocations: 0 / 0.898 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004509/0.02226, allocations: 239.9 kB / 0.8983 GB, free: 2.113 MB / 0.8542 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 0.0001191/0.02238, allocations: 111.2 kB / 0.8984 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.02289, allocations: 0.5144 MB / 0.8989 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02289, allocations: 0 / 0.8989 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.02303, allocations: 246 kB / 0.8991 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.02345, allocations: 96.69 kB / 0.8992 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.02456, allocations: 0.9351 MB / 0.9001 GB, free: 124 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.02472, allocations: 105.3 kB / 0.9002 GB, free: 16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.02487, allocations: 46.94 kB / 0.9003 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.02512, allocations: 178.1 kB / 0.9004 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.02513, allocations: 0 / 0.9004 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.01068/0.0358, allocations: 9.52 MB / 0.9097 GB, free: 6.438 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.599667262751609]