Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 104.3 kB / 16.27 MB, free: 5.984 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.001687/0.001687, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.735/2.735, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 72.34 kB / 0.9246 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8199, allocations: 162.2 MB / 1.083 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002748/0.8227, allocations: 1.439 MB / 1.084 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004754/0.8274, allocations: 2.885 MB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.8275, allocations: 4 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.8276, allocations: 4.875 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.8277, allocations: 16.55 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.8323, allocations: 1.59 MB / 1.089 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.8324, allocations: 37.61 kB / 1.089 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.8324, allocations: 11.77 kB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.8325, allocations: 18.72 kB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.8325, allocations: 17.55 kB / 1.089 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.8325, allocations: 6.156 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.8351, allocations: 1.459 MB / 1.09 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.8351, allocations: 9.531 kB / 1.09 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.8352, allocations: 21.64 kB / 1.09 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.8371, allocations: 1.107 MB / 1.091 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.8371, allocations: 1.188 kB / 1.091 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8371, allocations: 0 / 1.091 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8371, allocations: 0 / 1.091 GB, free: 13.07 MB / 0.8419 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.0007456/0.8378, allocations: 0.5234 MB / 1.092 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.8379, allocations: 9.5 kB / 1.092 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.838, allocations: 78.91 kB / 1.092 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.8382, allocations: 259.7 kB / 1.092 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.8382, allocations: 150.9 kB / 1.092 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.8383, allocations: 156.8 kB / 1.093 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.8384, allocations: 106.3 kB / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.8384, allocations: 79.28 kB / 1.093 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.8385, allocations: 155.3 kB / 1.093 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.8386, allocations: 151.1 kB / 1.093 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.8387, allocations: 155.7 kB / 1.093 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.839, allocations: 469.7 kB / 1.094 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.8391, allocations: 166.4 kB / 1.094 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.8392, allocations: 81.55 kB / 1.094 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.8392, allocations: 75.28 kB / 1.094 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.8393, allocations: 110.5 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8393, allocations: 1.562 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.746e-05/0.8394, allocations: 35.98 kB / 1.094 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.8395, allocations: 132.2 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.8396, allocations: 132.2 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.8396, allocations: 25.7 kB / 1.094 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.8397, allocations: 92.77 kB / 1.094 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.8397, allocations: 0 / 1.094 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.8398, allocations: 16.25 kB / 1.094 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8399, allocations: 322.5 kB / 1.095 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.8399, allocations: 4.484 kB / 1.095 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.84, allocations: 7.625 kB / 1.095 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.84, allocations: 20.19 kB / 1.095 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.84, allocations: 4 kB / 1.095 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000145/0.8402, allocations: 58.16 kB / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8402, allocations: 5.297 kB / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.8402, allocations: 4.453 kB / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8402, allocations: 0 / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.8402, allocations: 0 / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8403, allocations: 5.828 kB / 1.095 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.8403, allocations: 5 kB / 1.095 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.8403, allocations: 1.156 kB / 1.095 GB, free: 9.52 MB / 0.8419 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.000119/0.8404, allocations: 183.8 kB / 1.095 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.8405, allocations: 116.5 kB / 1.095 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.8406, allocations: 116.8 kB / 1.095 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-05/0.8407, allocations: 186 kB / 1.095 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.993e-05/0.8408, allocations: 186 kB / 1.096 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-05/0.8408, allocations: 177.4 kB / 1.096 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.8411, allocations: 417.8 kB / 1.096 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/0.8412, allocations: 106.6 kB / 1.096 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.8413, allocations: 102.2 kB / 1.096 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/0.8413, allocations: 185.9 kB / 1.097 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/0.8414, allocations: 182.4 kB / 1.097 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.839e-05/0.8415, allocations: 181.5 kB / 1.097 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-05/0.8416, allocations: 178 kB / 1.097 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.8418, allocations: 311 kB / 1.097 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.8419, allocations: 189.3 kB / 1.098 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.842, allocations: 182.4 kB / 1.098 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.8421, allocations: 106.6 kB / 1.098 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.8422, allocations: 178 kB / 1.098 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.8422, allocations: 107.9 kB / 1.098 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.8423, allocations: 102.5 kB / 1.098 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8423, allocations: 0 / 1.098 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009659/0.8433, allocations: 283.9 kB / 1.098 GB, free: 5.883 MB / 0.8419 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.001233/0.8445, allocations: 0.5297 MB / 1.099 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.8447, allocations: 48.64 kB / 1.099 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8447, allocations: 0 / 1.099 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.8447, allocations: 0.5 kB / 1.099 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.8451, allocations: 473.3 kB / 1.099 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.8456, allocations: 270.8 kB / 1.1 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.8459, allocations: 0.6833 MB / 1.1 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.8459, allocations: 8.438 kB / 1.1 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.8459, allocations: 1.531 kB / 1.1 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.01167/0.8576, allocations: 4.768 MB / 1.105 GB, free: 3.676 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x