Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_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_latest_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.001368/0.001368, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 199 kB / 16.79 MB, free: 6.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 64.33 kB / 0.8991 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3673, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.004095/0.3714, allocations: 1.536 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.3734, allocations: 0.9308 MB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.3736, allocations: 7.938 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3739, allocations: 43.81 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.374, allocations: 19.84 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.3747, allocations: 168 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3749, allocations: 51.67 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.3749, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.375, allocations: 23.81 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.3751, allocations: 19.86 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3751, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.3755, allocations: 147.8 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.3756, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.3756, allocations: 19.88 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3758, allocations: 76.09 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3759, allocations: 4 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.889e-06/0.3759, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3759, allocations: 3.938 kB / 1.056 GB, free: 5.277 MB / 0.8106 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.0005352/0.3764, allocations: 375.3 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.452e-05/0.3765, allocations: 11.97 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3766, allocations: 92.05 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3769, allocations: 256.9 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/0.377, allocations: 150.9 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.3771, allocations: 154.9 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.3772, allocations: 113.3 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.3773, allocations: 75.28 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.3773, allocations: 150.6 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.3774, allocations: 150.6 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.3775, allocations: 158.5 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3778, allocations: 461.9 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.3779, allocations: 169.1 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.378, allocations: 80.14 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.378, allocations: 75.28 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.741e-05/0.3781, allocations: 125.8 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.3781, allocations: 0 / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.3782, allocations: 33.61 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3783, allocations: 126.7 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3785, allocations: 131.4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3785, allocations: 29.7 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.3786, allocations: 92.03 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.3786, allocations: 0 / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3786, allocations: 21.72 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3787, allocations: 318.8 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.3788, allocations: 4 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.3788, allocations: 4 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.3788, allocations: 16.8 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3789, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.379, allocations: 45.62 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.379, allocations: 8 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.379, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3791, allocations: 8 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.3791, allocations: 0 / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3791, allocations: 4 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.3791, allocations: 3.906 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3791, allocations: 0 / 1.059 GB, free: 1.672 MB / 0.8106 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.0001125/0.3793, allocations: 189.1 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.3793, allocations: 112.8 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.3794, allocations: 112.8 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-05/0.3795, allocations: 184.3 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.957e-05/0.3796, allocations: 180.2 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/0.3796, allocations: 180.3 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3799, allocations: 413.1 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.3799, allocations: 105.1 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.38, allocations: 120.9 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.121e-05/0.3801, allocations: 180.2 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.3802, allocations: 176.3 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-05/0.3802, allocations: 184.2 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.15e-05/0.3803, allocations: 180.3 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.3805, allocations: 319.7 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3806, allocations: 193.9 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.3807, allocations: 180.2 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.3808, allocations: 101 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.3809, allocations: 184.2 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.381, allocations: 109 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.3811, allocations: 100.7 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3811, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000345/0.3814, allocations: 35.94 kB / 1.062 GB, free: 13.98 MB / 0.8262 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.0004004/0.3818, allocations: 218.4 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.382, allocations: 37.7 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.382, allocations: 0 / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.382, allocations: 8 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.3827, allocations: 0.5353 MB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.3833, allocations: 258.5 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3836, allocations: 0.6809 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.3836, allocations: 7.438 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3836, allocations: 0 / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.003748/0.3874, allocations: 1.241 MB / 1.065 GB, free: 10.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches