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.000915/0.000915, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001446/0.001446, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9496/0.9496, 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 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.727/1.727, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.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 1.222e-06/1.222e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.532e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00294/0.002956, allocations: 2.331 MB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.005861, allocations: 2.406 MB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.005963, allocations: 5.812 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.007165, allocations: 459 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.007356, allocations: 96.77 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.007619, allocations: 121.2 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007593/0.008378, allocations: 0.858 MB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.008479, allocations: 28.56 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/0.008957, allocations: 395.9 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.009341, allocations: 292.8 kB / 0.8184 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.009422, allocations: 52 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.009523, allocations: 52 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.009723, allocations: 220.8 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.009929, allocations: 216.2 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.01044, allocations: 0.4947 MB / 0.8194 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01044, allocations: 0.7188 kB / 0.8194 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.42e-07/0.01044, allocations: 0 / 0.8194 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.01045, allocations: 0.9062 kB / 0.8194 GB, free: 9.699 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001495/0.01194, allocations: 0.9592 MB / 0.8203 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.01198, allocations: 13.03 kB / 0.8203 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.01375, allocations: 301.5 kB / 0.8206 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.01417, allocations: 300 kB / 0.8209 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.01419, allocations: 24.38 kB / 0.8209 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.01427, allocations: 44.36 kB / 0.821 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.01449, allocations: 123.9 kB / 0.8211 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.0145, allocations: 4.188 kB / 0.8211 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01451, allocations: 5.688 kB / 0.8211 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01453, allocations: 7.938 kB / 0.8211 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.01464, allocations: 57.02 kB / 0.8212 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.01759, allocations: 1.159 MB / 0.8223 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.01872, allocations: 478.7 kB / 0.8227 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.01882, allocations: 63.59 kB / 0.8228 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.01883, allocations: 4 kB / 0.8228 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.01885, allocations: 33.39 kB / 0.8228 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.01886, allocations: 0 / 0.8228 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.0005995/0.01945, allocations: 263.8 kB / 0.8231 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.01948, allocations: 55.34 kB / 0.8231 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.0198, allocations: 450.5 kB / 0.8236 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.01985, allocations: 37.7 kB / 0.8236 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.01998, allocations: 223.9 kB / 0.8238 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.02006, allocations: 111.1 kB / 0.8239 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.02026, allocations: 159.9 kB / 0.8241 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.02041, allocations: 0.5313 MB / 0.8246 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.02069, allocations: 154.9 kB / 0.8247 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.02107, allocations: 305 kB / 0.825 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.02152, allocations: 301 kB / 0.8253 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02152, allocations: 0 / 0.8253 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009128/0.02243, allocations: 0.5586 MB / 0.8259 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.02247, allocations: 37.7 kB / 0.8259 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02247, allocations: 3.938 kB / 0.8259 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.02262, allocations: 27.61 kB / 0.8259 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.02316, allocations: 151.8 kB / 0.8261 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/0.02403, allocations: 1.736 MB / 0.8278 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008893/0.02492, allocations: 91.47 kB / 0.8279 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.02497, allocations: 27.97 kB / 0.8279 GB, free: 0.5977 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 (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.0001364/0.02511, allocations: 192.5 kB / 0.8281 GB, free: 408 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.02517, allocations: 39.77 kB / 0.8281 GB, free: 368 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.02522, allocations: 39.56 kB / 0.8282 GB, free: 332 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02522, allocations: 4 kB / 0.8282 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.02522, allocations: 0 / 0.8282 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02523, allocations: 0 / 0.8282 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.02554, allocations: 288.3 kB / 0.8284 GB, free: 4 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02554, allocations: 0 / 0.8284 GB, free: 4 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.02574, allocations: 39.97 kB / 0.8285 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-05/0.02582, allocations: 35.61 kB / 0.8285 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.02585, allocations: 11.98 kB / 0.8285 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008544/0.0267, allocations: 1.732 MB / 0.8302 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0267, allocations: 0 / 0.8302 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.02714, allocations: 431.1 kB / 0.8306 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.0272, allocations: 35.75 kB / 0.8307 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.02723, allocations: 8 kB / 0.8307 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.02763, allocations: 19.92 kB / 0.8307 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.02768, allocations: 19.89 kB / 0.8307 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.02769, allocations: 8 kB / 0.8307 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001812/0.02787, allocations: 263.1 kB / 0.831 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02787, allocations: 0 / 0.831 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005703/0.02844, allocations: 243.9 kB / 0.8312 GB, free: 13.03 MB / 0.7917 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 9.695e-05/0.02854, allocations: 111.2 kB / 0.8313 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.02923, allocations: 0.5457 MB / 0.8318 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02923, allocations: 0 / 0.8318 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.02942, allocations: 253.4 kB / 0.8321 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.02992, allocations: 101.4 kB / 0.8322 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.03123, allocations: 0.9419 MB / 0.8331 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.888e-05/0.03131, allocations: 117.3 kB / 0.8332 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.03151, allocations: 82.88 kB / 0.8333 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.03165, allocations: 44.47 kB / 0.8333 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of SimCode: time 1.072e-06/0.03165, allocations: 0 / 0.8333 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of Templates: time 0.01216/0.04382, allocations: 9.209 MB / 0.8423 GB, free: 1.703 MB / 0.7917 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.990981207694858]