Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_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.005574/0.005574, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.00143/0.00143, allocations: 190.3 kB / 16.67 MB, free: 5.871 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7263, allocations: 159.1 MB / 1.22 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002572/0.729, allocations: 1.483 MB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.7305, allocations: 0.9013 MB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.7306, allocations: 3.938 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.7308, allocations: 35.83 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.7308, allocations: 23.78 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.7313, allocations: 191.2 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.7314, allocations: 51.67 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.7315, allocations: 8 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.7315, allocations: 15.92 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.7316, allocations: 11.92 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.7316, allocations: 4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.7319, allocations: 175.7 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.732, allocations: 7.938 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.732, allocations: 19.88 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.7322, allocations: 119.3 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7322, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7322, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7323, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 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.0004901/0.7328, allocations: 375 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.7328, allocations: 8.031 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.7329, allocations: 110 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.7329, allocations: 80.17 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.7332, allocations: 263.5 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.7333, allocations: 154.9 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.7333, allocations: 154.9 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.7334, allocations: 113 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.7334, allocations: 75.28 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.7335, allocations: 150.6 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.7336, allocations: 150.6 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.7337, allocations: 154.6 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.734, allocations: 465.9 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.671e-05/0.7341, allocations: 173.1 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.7341, allocations: 92.08 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.7342, allocations: 79.28 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.7342, allocations: 109.8 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.7342, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.163e-05/0.7343, allocations: 29.7 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.7344, allocations: 130.7 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.7345, allocations: 135.9 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.7346, allocations: 29.64 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.7346, allocations: 104.1 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.7346, allocations: 0 / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.7347, allocations: 13.72 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7348, allocations: 322.8 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.7348, allocations: 0 / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.7349, allocations: 4 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/0.7349, allocations: 12.86 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.7349, allocations: 0 / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.735, allocations: 53.62 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7351, allocations: 12 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.7351, allocations: 0 / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.7351, allocations: 0 / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-06/0.7351, allocations: 3.938 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.7351, allocations: 0 / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/0.7352, allocations: 7.953 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.7353, allocations: 3.984 kB / 1.227 GB, free: 11.3 MB / 0.9512 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.000195/0.7355, allocations: 181.1 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.7355, allocations: 116.9 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.7356, allocations: 116.9 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.7357, allocations: 180.2 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-05/0.7358, allocations: 180.2 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.111e-05/0.7359, allocations: 184.2 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.7361, allocations: 417.2 kB / 1.228 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-05/0.7362, allocations: 104.9 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.7362, allocations: 112.9 kB / 1.228 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.7363, allocations: 176.3 kB / 1.228 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.7364, allocations: 180.2 kB / 1.228 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.661e-05/0.7365, allocations: 176.3 kB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-05/0.7366, allocations: 192.2 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.7367, allocations: 299.8 kB / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.7368, allocations: 193.9 kB / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.7369, allocations: 180.3 kB / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.737, allocations: 108.9 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.7371, allocations: 184.2 kB / 1.23 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.7371, allocations: 104.9 kB / 1.23 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.7372, allocations: 105.5 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7372, allocations: 0 / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002709/0.7375, allocations: 31.88 kB / 1.23 GB, free: 7.625 MB / 0.9512 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.0006663/0.7382, allocations: 0.867 MB / 1.231 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.7383, allocations: 29.7 kB / 1.231 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7383, allocations: 0 / 1.231 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.7383, allocations: 8 kB / 1.231 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.7388, allocations: 471.6 kB / 1.231 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.7401, allocations: 1.467 MB / 1.233 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.7404, allocations: 0.6846 MB / 1.233 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.554e-05/0.7404, allocations: 3.938 kB / 1.233 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.7405, allocations: 15.44 kB / 1.233 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.7405, allocations: 4.031 kB / 1.233 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.916/1.656, allocations: 2.715 MB / 1.236 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/10.21, allocations: 12.06 kB / 1.236 GB, free: 1.375 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches