Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.006686/0.006686, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001375/0.001375, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.533/2.533, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.89 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7465, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005251/0.7518, allocations: 4.168 MB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00336/0.7552, allocations: 2.413 MB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.7556, allocations: 8 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7573, allocations: 0.5382 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.7579, allocations: 254 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.7582, allocations: 139.8 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000927/0.7592, allocations: 0.8109 MB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.7597, allocations: 330.5 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.7601, allocations: 294.9 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.7604, allocations: 334.6 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.7605, allocations: 72 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.7607, allocations: 76 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.7608, allocations: 163.5 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.7612, allocations: 390.2 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.7621, allocations: 0.9962 MB / 1.177 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7621, allocations: 4 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7621, allocations: 0 / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.7622, allocations: 0 / 1.177 GB, free: 8.809 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001518/0.7637, allocations: 0.9652 MB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7637, allocations: 8.922 kB / 1.178 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.7639, allocations: 80.47 kB / 1.178 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.7645, allocations: 462 kB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.7646, allocations: 41.38 kB / 1.179 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.7646, allocations: 44.38 kB / 1.179 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.7654, allocations: 430.8 kB / 1.179 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.7654, allocations: 7.938 kB / 1.179 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.7655, allocations: 20 kB / 1.179 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.7655, allocations: 12 kB / 1.179 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.7662, allocations: 371.7 kB / 1.18 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.7682, allocations: 1.52 MB / 1.181 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.7687, allocations: 338.7 kB / 1.182 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.7692, allocations: 328.8 kB / 1.182 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.7693, allocations: 4 kB / 1.182 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7693, allocations: 50.38 kB / 1.182 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.7693, allocations: 0 / 1.182 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42): time 0.0009252/0.7702, allocations: 497.3 kB / 1.182 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.7703, allocations: 63.33 kB / 1.182 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.7708, allocations: 489.9 kB / 1.183 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.7708, allocations: 33.7 kB / 1.183 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.771, allocations: 280.7 kB / 1.183 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.7711, allocations: 154.6 kB / 1.183 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.7712, allocations: 58.08 kB / 1.183 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7714, allocations: 362.8 kB / 1.184 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.7716, allocations: 120.7 kB / 1.184 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.7719, allocations: 129.2 kB / 1.184 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.7724, allocations: 302.4 kB / 1.184 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7724, allocations: 0 / 1.184 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006203/0.773, allocations: 396.5 kB / 1.185 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.773, allocations: 4 kB / 1.185 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.773, allocations: 0 / 1.185 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7731, allocations: 8 kB / 1.185 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.7735, allocations: 123.9 kB / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7736, allocations: 0 / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7738, allocations: 39.72 kB / 1.185 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.7738, allocations: 8 kB / 1.185 GB, free: 0.9219 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002251/0.774, allocations: 197.7 kB / 1.185 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.7742, allocations: 55.61 kB / 1.185 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.7743, allocations: 69.09 kB / 1.185 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.7743, allocations: 4 kB / 1.185 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7743, allocations: 0 / 1.185 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.7743, allocations: 3.984 kB / 1.185 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.775, allocations: 0.5713 MB / 1.186 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.775, allocations: 3.938 kB / 1.186 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.7755, allocations: 131.8 kB / 1.186 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.7755, allocations: 0 / 1.186 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.7756, allocations: 16 kB / 1.186 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7756, allocations: 0 / 1.186 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7756, allocations: 0 / 1.186 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.7766, allocations: 0.6445 MB / 1.186 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.7767, allocations: 144.7 kB / 1.187 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.7768, allocations: 4 kB / 1.187 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.777, allocations: 12 kB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.7771, allocations: 31.89 kB / 1.187 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.7771, allocations: 12 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003689/0.7775, allocations: 347.1 kB / 1.187 GB, free: 14.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7775, allocations: 3.938 kB / 1.187 GB, free: 14.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005116/0.778, allocations: 147.7 kB / 1.187 GB, free: 14.45 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.7781, allocations: 115.2 kB / 1.187 GB, free: 14.33 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.7787, allocations: 327.5 kB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7787, allocations: 4 kB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.779, allocations: 179.8 kB / 1.188 GB, free: 13.83 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.7797, allocations: 123 kB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.7815, allocations: 1.215 MB / 1.189 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.782, allocations: 0.8743 MB / 1.19 GB, free: 11.56 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.7821, allocations: 48.39 kB / 1.19 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.7822, allocations: 39.44 kB / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7822, allocations: 0 / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of Templates: time 0.0109/0.7931, allocations: 6.008 MB / 1.196 GB, free: 5.609 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches