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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_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.006718/0.006718, allocations: 108.2 kB / 15.74 MB, free: 6.02 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.001901/0.001901, allocations: 200.2 kB / 16.68 MB, free: 5.938 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.11 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8318, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00291/0.8348, allocations: 1.481 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.8364, allocations: 0.8957 MB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.8365, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.8367, allocations: 43.77 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.8369, allocations: 19.84 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.8375, allocations: 194.4 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.8377, allocations: 55.67 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.8377, allocations: 8 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.8378, allocations: 19.91 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.8378, allocations: 15.94 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.8379, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.8383, allocations: 171.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.8383, allocations: 3.938 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.8384, allocations: 19.88 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.8386, allocations: 129.8 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8387, allocations: 4 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8387, allocations: 7.938 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.8387, allocations: 4 kB / 1.21 GB, free: 10.44 MB / 0.9356 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.000407/0.8391, allocations: 359.2 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8391, allocations: 12.03 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.407e-05/0.8392, allocations: 114 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.8393, allocations: 80.22 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.8396, allocations: 259.5 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.8397, allocations: 154.9 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.8398, allocations: 150.9 kB / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.8398, allocations: 105.1 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.8399, allocations: 79.22 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.8399, allocations: 158.5 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.84, allocations: 158.6 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.8401, allocations: 150.6 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.8404, allocations: 461.9 kB / 1.212 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.8405, allocations: 169.1 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.8405, allocations: 92.08 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.8406, allocations: 75.28 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.8406, allocations: 109.8 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.8406, allocations: 0 / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.000108/0.8407, allocations: 33.61 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.8408, allocations: 130.7 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.841, allocations: 131.7 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.841, allocations: 29.7 kB / 1.213 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.8411, allocations: 92.12 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.8411, allocations: 0 / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.8411, allocations: 17.72 kB / 1.213 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8412, allocations: 318.8 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.8413, allocations: 7.938 kB / 1.214 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.8413, allocations: 4 kB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.8413, allocations: 8.859 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8414, allocations: 8.031 kB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.8415, allocations: 53.53 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8415, allocations: 7.938 kB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.8416, allocations: 0 / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8416, allocations: 8.031 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.8416, allocations: 0 / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8416, allocations: 0 / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.8416, allocations: 0 / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.8416, allocations: 0 / 1.214 GB, free: 6.734 MB / 0.9356 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.0001203/0.8418, allocations: 197.1 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.8418, allocations: 108.8 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.8419, allocations: 116.8 kB / 1.214 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-05/0.842, allocations: 180.2 kB / 1.214 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.313e-05/0.842, allocations: 184.3 kB / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.57e-05/0.8421, allocations: 184.2 kB / 1.215 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.8424, allocations: 417.2 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/0.8424, allocations: 108.9 kB / 1.215 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.8425, allocations: 104.9 kB / 1.215 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.625e-05/0.8426, allocations: 180.3 kB / 1.215 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.8427, allocations: 180.2 kB / 1.216 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.779e-05/0.8427, allocations: 192.2 kB / 1.216 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-05/0.8428, allocations: 176.3 kB / 1.216 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.843, allocations: 303.8 kB / 1.216 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.8431, allocations: 197.9 kB / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.8432, allocations: 176.3 kB / 1.217 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.8433, allocations: 105 kB / 1.217 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.8433, allocations: 184.2 kB / 1.217 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.8434, allocations: 101 kB / 1.217 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.252e-05/0.8435, allocations: 105 kB / 1.217 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8435, allocations: 0 / 1.217 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003326/0.8438, allocations: 35.94 kB / 1.217 GB, free: 3.047 MB / 0.9356 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.0006359/0.8445, allocations: 0.8593 MB / 1.218 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.8446, allocations: 37.7 kB / 1.218 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8446, allocations: 0 / 1.218 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.8446, allocations: 0 / 1.218 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.8451, allocations: 475.6 kB / 1.218 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.8465, allocations: 1.459 MB / 1.22 GB, free: 112 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.8468, allocations: 0.6884 MB / 1.22 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.8469, allocations: 4.031 kB / 1.22 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.8469, allocations: 19.42 kB / 1.22 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of SimCode: time 1.583e-06/0.8469, allocations: 0 / 1.22 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.869, allocations: 2.733 MB / 1.223 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.683, allocations: 8.469 kB / 1.223 GB, free: 12.81 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > 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