Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.6 kB / 16.42 MB, free: 6.508 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.001493/0.001493, allocations: 183.9 kB / 17.34 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.389/2.389, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.741, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002401/0.7434, allocations: 1.289 MB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.748, allocations: 3.769 MB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.7481, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.7481, allocations: 3.938 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.7486, allocations: 95.48 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.749, allocations: 140.7 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.749, allocations: 31.8 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.7491, allocations: 3.984 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.7492, allocations: 35.84 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.7493, allocations: 39.86 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.7493, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.7498, allocations: 307.6 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.7499, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.7499, allocations: 7.938 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.7501, allocations: 116.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7501, allocations: 3.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7501, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.7502, allocations: 0 / 1.173 GB, free: 14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005563/0.7507, allocations: 359.1 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7508, allocations: 8.922 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.7508, allocations: 4.891 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7509, allocations: 168.4 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.751, allocations: 384 / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.751, allocations: 384 / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.7511, allocations: 41.75 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.7511, allocations: 0 / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.7511, allocations: 4 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.7511, allocations: 0 / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.7512, allocations: 4 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.7514, allocations: 157.7 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.7514, allocations: 26.61 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.7515, allocations: 8.922 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.7517, allocations: 101.1 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.7518, allocations: 38.44 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.7518, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.752, allocations: 45.66 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.752, allocations: 51.41 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.7521, allocations: 105.8 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.7521, allocations: 25.7 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.7522, allocations: 84.14 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.7522, allocations: 7.891 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.7522, allocations: 17.7 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7524, allocations: 319 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.7524, allocations: 4 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.7524, allocations: 3.938 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.7525, allocations: 12.86 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7525, allocations: 3.938 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.574e-05/0.7525, allocations: 41.69 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.7526, allocations: 11.94 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7526, allocations: 3.938 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7526, allocations: 4.094 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.7527, allocations: 4 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7527, allocations: 0 / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.7527, allocations: 0 / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.7527, allocations: 0 / 1.175 GB, free: 12.12 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 (2): * Single equations (assignments): 2 * 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.000158/0.7529, allocations: 105.8 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.7529, allocations: 11.88 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.753, allocations: 48.81 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.753, allocations: 4.031 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.753, allocations: 4 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.7531, allocations: 85.05 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.7531, allocations: 0 / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.7531, allocations: 0 / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.7531, allocations: 7.984 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001066/0.7532, allocations: 120.9 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001683/0.7534, allocations: 210.8 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.498e-05/0.7535, allocations: 7.984 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.7535, allocations: 79.53 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/0.7535, allocations: 0 / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.754, allocations: 139.7 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005594/0.7546, allocations: 0.5788 MB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.003785/0.7584, allocations: 1.381 MB / 1.177 GB, free: 9.254 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches