Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008804, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008284/0.0008284, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 8.781 kB / 0.9022 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004168/0.3154, allocations: 3.607 MB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.3186, allocations: 2.209 MB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.3189, allocations: 12 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3201, allocations: 457.9 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.3205, allocations: 210.5 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3207, allocations: 83.91 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.3215, allocations: 0.7616 MB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.3219, allocations: 241.5 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.3221, allocations: 231 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3225, allocations: 274.8 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.3225, allocations: 36 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.3226, allocations: 36 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3227, allocations: 123.5 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3229, allocations: 161.3 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006713/0.3236, allocations: 0.7945 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3236, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3236, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3236, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001224/0.3248, allocations: 0.845 MB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3249, allocations: 8.031 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.325, allocations: 71.16 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.3255, allocations: 444.7 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.3256, allocations: 37 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.3257, allocations: 51.95 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007789/0.3265, allocations: 434.3 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3265, allocations: 3.984 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.3265, allocations: 24 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3265, allocations: 15.98 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.3272, allocations: 371.8 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.3292, allocations: 1.528 MB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.3298, allocations: 350.9 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.3303, allocations: 353.5 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3303, allocations: 4 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3304, allocations: 38.55 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.3304, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0009424/0.3313, allocations: 0.5087 MB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3314, allocations: 55.41 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.332, allocations: 489.8 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.332, allocations: 29.7 kB / 1.073 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.3322, allocations: 280.3 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3324, allocations: 145.8 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.3324, allocations: 8 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3326, allocations: 366.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.3328, allocations: 124.7 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3331, allocations: 129.4 kB / 1.074 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3333, allocations: 146.6 kB / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3333, allocations: 0 / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006481/0.334, allocations: 399.8 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.334, allocations: 5.875 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.334, allocations: 8 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3341, allocations: 3.953 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.3346, allocations: 127.9 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3346, allocations: 7.922 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3348, allocations: 55.66 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3349, allocations: 8 kB / 1.074 GB, free: 4.395 MB / 0.8262 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.3351, allocations: 197.8 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.3352, allocations: 51.34 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.3353, allocations: 57.11 kB / 1.075 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3353, allocations: 4 kB / 1.075 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3353, allocations: 7.953 kB / 1.075 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3353, allocations: 3.984 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.336, allocations: 0.5713 MB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.336, allocations: 0 / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.3365, allocations: 127.8 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.3365, allocations: 4 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3366, allocations: 4 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3366, allocations: 7.938 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3366, allocations: 0 / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.3375, allocations: 0.6712 MB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3377, allocations: 144.4 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.3377, allocations: 8 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.338, allocations: 19.98 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.338, allocations: 23.75 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3381, allocations: 12 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003987/0.3385, allocations: 351.1 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3385, allocations: 0 / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004107/0.3389, allocations: 151.6 kB / 1.077 GB, free: 1.906 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.3391, allocations: 111.5 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.3397, allocations: 327.8 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3397, allocations: 4 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.34, allocations: 183.8 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.3407, allocations: 122 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3427, allocations: 1.439 MB / 1.079 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.3431, allocations: 0.8707 MB / 1.08 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.3433, allocations: 56.33 kB / 1.08 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.3434, allocations: 35.44 kB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of SimCode: time 1.994e-06/0.3435, allocations: 0 / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.01031/0.3538, allocations: 5.387 MB / 1.085 GB, free: 9.457 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches