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.001378/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001608/0.001608, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.385/2.385, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5229, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002272/0.5252, allocations: 1.538 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.5263, allocations: 0.9386 MB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.5264, allocations: 7.938 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.5266, allocations: 43.83 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.443e-05/0.5266, allocations: 15.84 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.527, allocations: 173.4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.5271, allocations: 43.73 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.056e-05/0.5271, allocations: 7.984 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.5272, allocations: 19.88 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.5272, allocations: 19.91 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.5272, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.5275, allocations: 147.8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.5275, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.5276, allocations: 19.81 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.5278, allocations: 125.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5278, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5278, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.5278, allocations: 3.938 kB / 1.02 GB, free: 15.7 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.0002811/0.5281, allocations: 363.3 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5281, allocations: 8.031 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.5282, allocations: 118 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.5282, allocations: 80.12 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.5284, allocations: 257.9 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.5284, allocations: 150.9 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.5285, allocations: 154.9 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.655e-05/0.5285, allocations: 109.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5286, allocations: 79.28 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.5286, allocations: 150.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.5286, allocations: 154.5 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.5287, allocations: 154.5 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.5289, allocations: 465.9 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.529, allocations: 169.1 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.529, allocations: 80.14 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.529, allocations: 79.22 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.5291, allocations: 129.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5291, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.957e-05/0.5292, allocations: 33.61 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.5292, allocations: 130.7 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.5293, allocations: 129.8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.5293, allocations: 25.7 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.5294, allocations: 92.05 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.5294, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.5294, allocations: 21.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.5295, allocations: 310.8 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.5295, allocations: 12 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.5295, allocations: 7.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.5296, allocations: 16.8 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5296, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.677e-05/0.5297, allocations: 41.64 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.5297, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5297, allocations: 7.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5297, allocations: 4.031 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.5297, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.5298, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.5298, allocations: 11.97 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5298, allocations: 4 kB / 1.023 GB, free: 11.98 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 7.251e-05/0.5299, allocations: 185.1 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.5299, allocations: 112.9 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.53, allocations: 108.8 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.53, allocations: 188.2 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-05/0.5301, allocations: 180.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-05/0.5301, allocations: 180.3 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.5303, allocations: 417.1 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/0.5303, allocations: 108.9 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.5304, allocations: 104.9 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-05/0.5304, allocations: 188.2 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.5305, allocations: 176.3 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-05/0.5305, allocations: 180.2 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.285e-05/0.5306, allocations: 180.5 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.848e-05/0.5307, allocations: 319.7 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.5307, allocations: 185.9 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.5308, allocations: 184.2 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.5308, allocations: 105 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5309, allocations: 184.2 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.5309, allocations: 101 kB / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.531, allocations: 104.8 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.531, allocations: 4 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002492/0.5312, allocations: 39.92 kB / 1.027 GB, free: 8.297 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.0004222/0.5317, allocations: 0.8515 MB / 1.027 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.5318, allocations: 41.7 kB / 1.027 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5318, allocations: 0 / 1.027 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5318, allocations: 0 / 1.027 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.5322, allocations: 0.537 MB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.5331, allocations: 1.465 MB / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5333, allocations: 0.6848 MB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.5334, allocations: 0 / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.5334, allocations: 15.44 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5334, allocations: 0 / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/1.548, allocations: 2.569 MB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/1.549, allocations: 236.8 kB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/3.283, allocations: 64 / 1.033 GB, free: 1.895 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