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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009535, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005788/0.005788, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 12 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5513, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001467/0.5528, allocations: 1.199 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.5541, allocations: 0.9192 MB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.5542, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.5544, allocations: 43.83 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.5544, allocations: 15.86 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.5549, allocations: 178.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.555, allocations: 47.67 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.555, allocations: 7.891 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.5551, allocations: 15.94 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.5551, allocations: 15.88 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.5551, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.5554, allocations: 151.8 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.5555, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.5555, allocations: 41.58 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.5557, allocations: 125.9 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.5557, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5557, allocations: 4 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.5557, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7794 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.0002934/0.556, allocations: 355.3 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5561, allocations: 12.03 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.5561, allocations: 106 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.5562, allocations: 84.22 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.5563, allocations: 263.4 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.5564, allocations: 154.9 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.5564, allocations: 150.9 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.055e-05/0.5565, allocations: 113 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.5565, allocations: 75.28 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.5566, allocations: 154.6 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.5566, allocations: 150.6 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.5567, allocations: 154.6 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.5569, allocations: 469.9 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.219e-05/0.557, allocations: 169.1 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.557, allocations: 80.14 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.557, allocations: 75.28 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5571, allocations: 113.8 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5571, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.797e-05/0.5572, allocations: 29.7 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.5572, allocations: 134.6 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.5573, allocations: 138.8 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.5574, allocations: 25.7 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.5574, allocations: 88.14 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.5574, allocations: 0 / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.5574, allocations: 21.59 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.5575, allocations: 322.8 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.5576, allocations: 4 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.5576, allocations: 8 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.5576, allocations: 8.859 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5576, allocations: 0 / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.5577, allocations: 53.53 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5578, allocations: 7.938 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5578, allocations: 4 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.986e-06/0.5578, allocations: 0 / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.5578, allocations: 4.062 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5578, allocations: 0 / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.5578, allocations: 0 / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.5579, allocations: 4 kB / 1.029 GB, free: 9.359 MB / 0.7794 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 8.597e-05/0.5579, allocations: 189.1 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.558, allocations: 116.8 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.558, allocations: 108.8 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/0.5581, allocations: 184.3 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-05/0.5582, allocations: 180.3 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/0.5582, allocations: 184.2 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.5584, allocations: 413.2 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/0.5584, allocations: 108.9 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.5585, allocations: 105.2 kB / 1.031 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.887e-05/0.5585, allocations: 188.3 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.5586, allocations: 188.2 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.351e-05/0.5586, allocations: 176.3 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.411e-05/0.5587, allocations: 180.2 kB / 1.031 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.5588, allocations: 311.8 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.5589, allocations: 189.9 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.5589, allocations: 176.3 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.559, allocations: 109 kB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.5591, allocations: 180.2 kB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.5591, allocations: 105 kB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.5592, allocations: 114.6 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5592, allocations: 0 / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002615/0.5594, allocations: 35.94 kB / 1.033 GB, free: 5.672 MB / 0.7794 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.0004438/0.5599, allocations: 0.8515 MB / 1.033 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.479e-05/0.56, allocations: 41.69 kB / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.56, allocations: 0 / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.56, allocations: 3.938 kB / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.5604, allocations: 0.5263 MB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.5614, allocations: 1.489 MB / 1.035 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.5616, allocations: 0.6848 MB / 1.036 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.5617, allocations: 0 / 1.036 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.5617, allocations: 11.44 kB / 1.036 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.5617, allocations: 8.031 kB / 1.036 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3975/0.9592, allocations: 2.503 MB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.9594, allocations: 238.2 kB / 1.039 GB, free: 15.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.336, allocations: 1.406 kB / 1.039 GB, free: 15.33 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > 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