Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001427, allocations: 112.9 kB / 16.41 MB, free: 5.992 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.001395/0.001395, allocations: 190.3 kB / 17.34 MB, free: 5.602 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.17 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.57/2.57, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9607/0.9622, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003151/0.9654, allocations: 1.486 MB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.967, allocations: 0.9072 MB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.9671, allocations: 0 / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.9674, allocations: 39.77 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.9675, allocations: 19.84 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.9682, allocations: 196.3 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.9684, allocations: 51.67 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.9684, allocations: 7.984 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.9685, allocations: 19.88 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.9686, allocations: 15.92 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.9686, allocations: 3.938 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.969, allocations: 171.8 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.969, allocations: 7.938 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.9691, allocations: 19.86 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.9693, allocations: 120.2 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.9694, allocations: 4 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9694, allocations: 3.938 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.9694, allocations: 0 / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004586/0.9698, allocations: 375 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9699, allocations: 8.922 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.97, allocations: 88.17 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.9703, allocations: 262.1 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.9704, allocations: 150.9 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.9705, allocations: 154.9 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/0.9706, allocations: 109.3 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.9706, allocations: 75.28 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.9707, allocations: 154.6 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.9708, allocations: 154.6 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.9708, allocations: 154.5 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.9712, allocations: 461.9 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/0.9713, allocations: 169.1 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.9713, allocations: 84.14 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9714, allocations: 75.28 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.9714, allocations: 113.8 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9714, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.837e-05/0.9716, allocations: 41.59 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.9716, allocations: 130.7 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.9718, allocations: 129.8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.9718, allocations: 25.7 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.9719, allocations: 96.08 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.9719, allocations: 0 / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.9719, allocations: 13.72 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9721, allocations: 322.8 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.9721, allocations: 8 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.9721, allocations: 4 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.9722, allocations: 12.89 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9722, allocations: 4 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001622/0.9724, allocations: 53.56 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9724, allocations: 4 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.9724, allocations: 0 / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9724, allocations: 4 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.9724, allocations: 3.938 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9725, allocations: 3.938 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.9725, allocations: 8.016 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.9725, allocations: 0 / 1.174 GB, free: 13.21 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 (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.0001227/0.9726, allocations: 189.1 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.9727, allocations: 108.9 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.157e-05/0.9728, allocations: 112.8 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-05/0.9729, allocations: 176.3 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.189e-05/0.973, allocations: 192.2 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-05/0.973, allocations: 180.3 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.9733, allocations: 413.1 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.9734, allocations: 105 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.9735, allocations: 104.9 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.9735, allocations: 184.2 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.9736, allocations: 184.2 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.847e-05/0.9737, allocations: 184.2 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.509e-05/0.9738, allocations: 176.3 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.974, allocations: 307.7 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.9741, allocations: 198 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.9742, allocations: 180.2 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.9743, allocations: 101 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.9744, allocations: 180.3 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.9744, allocations: 108.9 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.355e-05/0.9745, allocations: 101.9 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9745, allocations: 4 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003512/0.9749, allocations: 35.88 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000341/0.9752, allocations: 218.3 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.9754, allocations: 33.7 kB / 1.177 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9754, allocations: 0 / 1.177 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.9754, allocations: 4 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.9759, allocations: 477.2 kB / 1.178 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.9763, allocations: 260.4 kB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.9766, allocations: 0.6807 MB / 1.179 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.9766, allocations: 11.44 kB / 1.179 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.9766, allocations: 7.938 kB / 1.179 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of Templates: time 0.003334/0.98, allocations: 1.232 MB / 1.18 GB, free: 6.566 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches