Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001754/0.001754, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.002046/0.002046, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9073/0.9088, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002944/0.9118, allocations: 1.371 MB / 1.228 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.915, allocations: 1.798 MB / 1.23 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.9151, allocations: 0 / 1.23 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.9152, allocations: 15.92 kB / 1.23 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.9155, allocations: 27.89 kB / 1.23 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.9186, allocations: 1.147 MB / 1.231 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.9188, allocations: 51.77 kB / 1.231 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.9188, allocations: 4 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.9189, allocations: 27.91 kB / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.919, allocations: 31.84 kB / 1.231 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.919, allocations: 4 kB / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.9207, allocations: 0.8891 MB / 1.232 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.9208, allocations: 67.69 kB / 1.232 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.9209, allocations: 67.42 kB / 1.232 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.9226, allocations: 0.8808 MB / 1.233 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9226, allocations: 0 / 1.233 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9226, allocations: 0 / 1.233 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.9227, allocations: 0 / 1.233 GB, free: 7.086 MB / 0.9512 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.001014/0.9237, allocations: 0.5946 MB / 1.233 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.9237, allocations: 8.031 kB / 1.233 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.9238, allocations: 36.75 kB / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.924, allocations: 230.9 kB / 1.233 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.9241, allocations: 384 / 1.233 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.9241, allocations: 384 / 1.233 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.9242, allocations: 118.3 kB / 1.234 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9243, allocations: 0 / 1.234 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.9243, allocations: 0 / 1.234 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9243, allocations: 0 / 1.234 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.9244, allocations: 75.97 kB / 1.234 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.9247, allocations: 277.9 kB / 1.234 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.9248, allocations: 126.5 kB / 1.234 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/0.9249, allocations: 100.9 kB / 1.234 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.925, allocations: 7.922 kB / 1.234 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.925, allocations: 34.56 kB / 1.234 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.925, allocations: 4 kB / 1.234 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32): time 0.0004134/0.9254, allocations: 330 kB / 1.235 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.9255, allocations: 63.36 kB / 1.235 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.9257, allocations: 253 kB / 1.235 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.9257, allocations: 25.7 kB / 1.235 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.9258, allocations: 128.7 kB / 1.235 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.9259, allocations: 103.1 kB / 1.235 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.926, allocations: 33.64 kB / 1.235 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9261, allocations: 342.8 kB / 1.235 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.9262, allocations: 71.97 kB / 1.235 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.9263, allocations: 79.97 kB / 1.236 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.9265, allocations: 197.8 kB / 1.236 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9265, allocations: 4 kB / 1.236 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002336/0.9267, allocations: 229.3 kB / 1.236 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9268, allocations: 8 kB / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9268, allocations: 0 / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9268, allocations: 0 / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.9268, allocations: 0 / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9268, allocations: 0 / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.9269, allocations: 11.89 kB / 1.236 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9269, allocations: 8 kB / 1.236 GB, free: 3.422 MB / 0.9512 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.0001389/0.927, allocations: 158.7 kB / 1.236 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.9271, allocations: 27.75 kB / 1.236 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.9274, allocations: 256.4 kB / 1.236 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9274, allocations: 0 / 1.236 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9274, allocations: 0 / 1.236 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.9275, allocations: 104.9 kB / 1.237 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.9275, allocations: 0 / 1.237 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.9275, allocations: 0 / 1.237 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.9276, allocations: 12 kB / 1.237 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002557/0.9278, allocations: 292.8 kB / 1.237 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000308/0.9281, allocations: 398.6 kB / 1.237 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001062/0.9282, allocations: 104 kB / 1.237 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001759/0.9284, allocations: 196.4 kB / 1.237 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/0.9284, allocations: 0 / 1.237 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.9297, allocations: 0.4915 MB / 1.238 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008933/0.9307, allocations: 0.96 MB / 1.239 GB, free: 332 kB / 0.9512 GB Notification: Performance of Templates: time 0.009343/0.94, allocations: 4.652 MB / 1.243 GB, free: 11.73 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches