Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.001932/0.001932, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.08 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6881, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004009/0.6922, allocations: 3.053 MB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.6949, allocations: 2.14 MB / 1.214 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.6952, allocations: 4 kB / 1.214 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.6967, allocations: 0.4917 MB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.6971, allocations: 154.8 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.6972, allocations: 55.94 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.6977, allocations: 456.6 kB / 1.215 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.698, allocations: 151.2 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.6982, allocations: 155.3 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.6984, allocations: 179.2 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.6985, allocations: 36 kB / 1.215 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.6986, allocations: 39.94 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.6987, allocations: 99.67 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.6989, allocations: 215 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.6993, allocations: 0.5489 MB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6994, allocations: 0 / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6994, allocations: 0 / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6994, allocations: 0 / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009872/0.7004, allocations: 0.6967 MB / 1.217 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7004, allocations: 8.031 kB / 1.217 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.7005, allocations: 48.38 kB / 1.217 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.701, allocations: 378.1 kB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.701, allocations: 12.81 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.7011, allocations: 20.38 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.7014, allocations: 211.6 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7015, allocations: 3.938 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.7015, allocations: 4 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.7015, allocations: 8 kB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.7019, allocations: 161.7 kB / 1.218 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.703, allocations: 0.87 MB / 1.218 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.7033, allocations: 165 kB / 1.219 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.7035, allocations: 104.8 kB / 1.219 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.7035, allocations: 4 kB / 1.219 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.7036, allocations: 38.56 kB / 1.219 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.7036, allocations: 0 / 1.219 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0005701/0.7042, allocations: 262.9 kB / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.7042, allocations: 55.41 kB / 1.219 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.7046, allocations: 417.7 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7047, allocations: 29.7 kB / 1.219 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.7048, allocations: 208.2 kB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.7048, allocations: 67.08 kB / 1.22 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.7049, allocations: 29.72 kB / 1.22 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.705, allocations: 350.8 kB / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.7052, allocations: 51.97 kB / 1.22 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.7053, allocations: 53.69 kB / 1.22 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.7056, allocations: 143.2 kB / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7056, allocations: 0 / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003771/0.706, allocations: 209.1 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.706, allocations: 4 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.706, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.706, allocations: 3.938 kB / 1.22 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.7063, allocations: 55.95 kB / 1.221 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7063, allocations: 4 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.7065, allocations: 19.84 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.7065, allocations: 3.984 kB / 1.221 GB, free: 0.9883 MB / 0.9356 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 (20): * Single equations (assignments): 20 * 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.0001461/0.7066, allocations: 171.3 kB / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.7067, allocations: 35.53 kB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.7068, allocations: 39.59 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7068, allocations: 7.922 kB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7068, allocations: 0 / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.7069, allocations: 128.6 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.7069, allocations: 0 / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.7071, allocations: 8 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.7072, allocations: 11.92 kB / 1.221 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006351/0.7078, allocations: 298.5 kB / 1.221 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000618/0.7084, allocations: 464.3 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001601/0.7086, allocations: 75.89 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000305/0.7089, allocations: 307.1 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/0.7089, allocations: 0 / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005281/0.7095, allocations: 170.4 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001408/0.7109, allocations: 1.238 MB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of Templates: time 0.008608/0.7195, allocations: 4.462 MB / 1.228 GB, free: 9.613 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches