Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 104 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.8835, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003528/0.8871, allocations: 2.247 MB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.8903, allocations: 2.393 MB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.8904, allocations: 4 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.8919, allocations: 495.8 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.8921, allocations: 95.31 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.8924, allocations: 99.84 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008812/0.8933, allocations: 0.8539 MB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.8935, allocations: 32.31 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.8939, allocations: 279.4 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.8945, allocations: 339.1 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/0.8946, allocations: 56 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.8947, allocations: 59.94 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.895, allocations: 219.5 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.8953, allocations: 282.9 kB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007564/0.8961, allocations: 0.7399 MB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8961, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.817e-06/0.8961, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.8961, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 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.0024/0.8985, allocations: 0.9292 MB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8986, allocations: 8.922 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.8987, allocations: 44.47 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.9003, allocations: 0.5223 MB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.9004, allocations: 20.38 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.9004, allocations: 40.38 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.9008, allocations: 205.7 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.9008, allocations: 0 / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.9009, allocations: 4 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.9009, allocations: 7.984 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.9012, allocations: 175.8 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.9057, allocations: 1.428 MB / 1.179 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.9075, allocations: 0.593 MB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.9077, allocations: 136.8 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.9078, allocations: 8 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.9078, allocations: 34.56 kB / 1.179 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.9078, allocations: 0 / 1.179 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001203/0.909, allocations: 0.5481 MB / 1.18 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.9091, allocations: 55.41 kB / 1.18 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.9095, allocations: 405.3 kB / 1.18 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.9096, allocations: 41.64 kB / 1.18 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.9097, allocations: 157.1 kB / 1.18 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.9099, allocations: 94.64 kB / 1.181 GB, free: 6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.9101, allocations: 154.3 kB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9103, allocations: 350.8 kB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.9108, allocations: 337.1 kB / 1.181 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.9115, allocations: 405.5 kB / 1.182 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.9123, allocations: 0.5646 MB / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9123, allocations: 0 / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001515/0.9139, allocations: 0.917 MB / 1.183 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.9139, allocations: 33.7 kB / 1.183 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9139, allocations: 0 / 1.183 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.9142, allocations: 32.84 kB / 1.183 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.915, allocations: 151.8 kB / 1.183 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.9162, allocations: 1.433 MB / 1.185 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.9179, allocations: 115.2 kB / 1.185 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.918, allocations: 23.98 kB / 1.185 GB, free: 1.32 MB / 0.9044 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.0002495/0.9183, allocations: 177.7 kB / 1.185 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.9183, allocations: 27.62 kB / 1.185 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.9184, allocations: 43.47 kB / 1.185 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9184, allocations: 4 kB / 1.185 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9185, allocations: 7.938 kB / 1.185 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.9185, allocations: 3.984 kB / 1.185 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.919, allocations: 464.9 kB / 1.186 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.919, allocations: 0 / 1.186 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.9193, allocations: 43.97 kB / 1.186 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.9194, allocations: 28.78 kB / 1.186 GB, free: 484 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.9194, allocations: 11.98 kB / 1.186 GB, free: 472 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.9205, allocations: 1.422 MB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9205, allocations: 0 / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.9214, allocations: 0.6038 MB / 1.188 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.9215, allocations: 112.6 kB / 1.188 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.9216, allocations: 8 kB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007278/0.9223, allocations: 35.86 kB / 1.188 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.9224, allocations: 15.97 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.9224, allocations: 8 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002758/0.9227, allocations: 259.2 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9227, allocations: 3.938 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008926/0.9236, allocations: 240 kB / 1.188 GB, free: 13.58 MB / 0.92 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.0001911/0.9238, allocations: 128.2 kB / 1.188 GB, free: 13.45 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.925, allocations: 0.732 MB / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.925, allocations: 4 kB / 1.189 GB, free: 12.69 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.9254, allocations: 258.6 kB / 1.189 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.926, allocations: 95.78 kB / 1.19 GB, free: 12.33 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.9281, allocations: 1.338 MB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.9285, allocations: 0.8077 MB / 1.192 GB, free: 10.13 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.9287, allocations: 43.41 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/0.9287, allocations: 0 / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of Templates: time 0.01225/0.9409, allocations: 7.517 MB / 1.199 GB, free: 2.609 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches