Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 113 kB / 16.42 MB, free: 6.5 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.001485/0.001485, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9271/0.9287, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.0027/0.9314, allocations: 1.377 MB / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.9344, allocations: 1.79 MB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.9345, allocations: 3.938 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.9347, allocations: 7.984 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.9349, allocations: 31.83 kB / 1.171 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.9377, allocations: 1.145 MB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.9378, allocations: 55.72 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.9379, allocations: 0 / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.938, allocations: 35.84 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.9381, allocations: 31.89 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.9381, allocations: 4 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.9393, allocations: 0.8813 MB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.9395, allocations: 71.75 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.9395, allocations: 71.36 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009965/0.9405, allocations: 0.8746 MB / 1.174 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9406, allocations: 0 / 1.174 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9406, allocations: 0 / 1.174 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9406, allocations: 0 / 1.174 GB, free: 13.46 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.0006802/0.9413, allocations: 0.5839 MB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.9413, allocations: 12.91 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.9414, allocations: 20.66 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.9416, allocations: 230.7 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-06/0.9416, allocations: 384 / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.9416, allocations: 384 / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.9418, allocations: 109.7 kB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9418, allocations: 0 / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.9418, allocations: 0 / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.9418, allocations: 4 kB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.9419, allocations: 71.97 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.9422, allocations: 273.9 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.9423, allocations: 126.5 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.9424, allocations: 108.9 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.9424, allocations: 3.938 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.9425, allocations: 34.5 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 1.092e-06/0.9425, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.0003881/0.9429, allocations: 339.4 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.9429, allocations: 51.41 kB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.9431, allocations: 257 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.9432, allocations: 25.7 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.9432, allocations: 128.7 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.618e-05/0.9433, allocations: 106.4 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.9434, allocations: 29.7 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9435, allocations: 338.8 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.9436, allocations: 79.97 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.9437, allocations: 72.77 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.9439, allocations: 209 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9439, allocations: 0 / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000218/0.9441, allocations: 225.2 kB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9441, allocations: 4 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.9441, allocations: 4 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9442, allocations: 0 / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.567e-06/0.9442, allocations: 4 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9442, allocations: 8 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.9442, allocations: 15.83 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.9442, allocations: 3.938 kB / 1.177 GB, free: 9.812 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001378/0.9444, allocations: 153.8 kB / 1.177 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.9444, allocations: 27.56 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.9447, allocations: 257.5 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9447, allocations: 0 / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.9447, allocations: 4 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.9448, allocations: 96.77 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.9448, allocations: 12.02 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.9449, allocations: 0 / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.9449, allocations: 0 / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002215/0.9451, allocations: 280.8 kB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002708/0.9454, allocations: 410.3 kB / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.929e-05/0.9455, allocations: 108 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000158/0.9457, allocations: 196.5 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of Backend: time 1.7e-07/0.9457, allocations: 0 / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.9468, allocations: 498.1 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008826/0.9477, allocations: 0.9426 MB / 1.18 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.008461/0.9562, allocations: 4.652 MB / 1.184 GB, free: 2.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches