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: "" <> 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.001259/0.001259, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001234/0.001234, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.602 MB / 190.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.527/2.527, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5478, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002432/0.5503, allocations: 1.553 MB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.5515, allocations: 0.9112 MB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.5516, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.5518, allocations: 51.73 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.5519, allocations: 15.86 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.5523, allocations: 178.9 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.5524, allocations: 47.73 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.5525, allocations: 11.92 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.5525, allocations: 15.88 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.881e-05/0.5526, allocations: 19.88 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.5526, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.5528, allocations: 147.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.5529, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.5529, allocations: 23.88 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.5531, allocations: 121.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5531, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5531, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5531, allocations: 0 / 1.02 GB, free: 15.64 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.0003279/0.5534, allocations: 367.2 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5535, allocations: 15.97 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.5535, allocations: 106 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.5536, allocations: 80.12 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.5538, allocations: 269.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.5538, allocations: 150.9 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.5539, allocations: 154.9 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.317e-05/0.554, allocations: 105.1 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.554, allocations: 75.28 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.554, allocations: 154.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.5541, allocations: 150.6 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.5542, allocations: 162.4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.5544, allocations: 461.9 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.5545, allocations: 173.1 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.5545, allocations: 84.14 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.5546, allocations: 75.28 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.5546, allocations: 113.7 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5546, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.457e-05/0.5547, allocations: 33.61 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5548, allocations: 130.7 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5549, allocations: 133.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.5549, allocations: 25.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.555, allocations: 99.98 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.555, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.555, allocations: 13.72 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5551, allocations: 322.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.5551, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.5552, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.5552, allocations: 20.83 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5552, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.5553, allocations: 49.62 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5553, allocations: 10.5 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5554, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5554, allocations: 4.031 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-06/0.5554, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5554, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.5554, allocations: 7.906 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5554, allocations: 0 / 1.023 GB, free: 11.92 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 9.307e-05/0.5555, allocations: 193.1 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.5556, allocations: 116.9 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.5557, allocations: 108.9 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.188e-05/0.5557, allocations: 180.2 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.048e-05/0.5558, allocations: 180.2 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-05/0.5558, allocations: 180.3 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.5561, allocations: 421.2 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.5561, allocations: 104.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.5562, allocations: 104.9 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/0.5562, allocations: 184.2 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.5563, allocations: 180.3 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-05/0.5564, allocations: 184.4 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.198e-05/0.5564, allocations: 184.3 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.5566, allocations: 307.7 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.5566, allocations: 189.9 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.5567, allocations: 192.1 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.5568, allocations: 101 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.5569, allocations: 184.2 kB / 1.026 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.5569, allocations: 101 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.557, allocations: 103.3 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.557, allocations: 3.938 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002573/0.5573, allocations: 35.94 kB / 1.027 GB, free: 8.23 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.0005095/0.5578, allocations: 0.8593 MB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.5579, allocations: 37.7 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5579, allocations: 0 / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.5579, allocations: 8.062 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.5583, allocations: 456.2 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.5594, allocations: 1.466 MB / 1.029 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.5596, allocations: 0.6807 MB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.5597, allocations: 256 / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.5597, allocations: 19.42 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5597, allocations: 0 / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.5977, allocations: 2.613 MB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.5979, allocations: 237.1 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.482, allocations: 5.328 kB / 1.033 GB, free: 1.879 MB / 0.7794 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