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.InternalResistancesOneUTubeNegative.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009541/0.0009541, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 16 kB / 0.8708 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8424, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001421/0.8439, allocations: 1.113 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.8474, allocations: 2.552 MB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.8475, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.8475, allocations: 7.922 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.8476, allocations: 15.97 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.8506, allocations: 1.217 MB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.8507, allocations: 39.88 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.8508, allocations: 7.969 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.8508, allocations: 8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.092e-05/0.8508, allocations: 23.86 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.8509, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.8526, allocations: 1.155 MB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.8526, allocations: 7.984 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.8526, allocations: 29.7 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009279/0.8536, allocations: 0.6998 MB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8536, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8536, allocations: 4 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8536, allocations: 0 / 1.028 GB, free: 10.19 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.0005277/0.8541, allocations: 0.5028 MB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.8542, allocations: 12.03 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.8542, allocations: 79.19 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8544, allocations: 251.3 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.8544, allocations: 150.6 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.8545, allocations: 162.5 kB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.186e-05/0.8546, allocations: 105 kB / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.8546, allocations: 75.28 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.8546, allocations: 150.6 kB / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.8547, allocations: 150.6 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.8547, allocations: 158.5 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.855, allocations: 465.9 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.8551, allocations: 177 kB / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.8551, allocations: 79.28 kB / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.8552, allocations: 121.7 kB / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8552, allocations: 0 / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.589e-05/0.8553, allocations: 33.61 kB / 1.03 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.8554, allocations: 126.7 kB / 1.03 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8555, allocations: 127.6 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8555, allocations: 29.7 kB / 1.03 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.8556, allocations: 84.14 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.8556, allocations: 0 / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.8556, allocations: 0 / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8557, allocations: 326.8 kB / 1.031 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.8558, allocations: 4 kB / 1.031 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.8558, allocations: 0 / 1.031 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.8558, allocations: 8 kB / 1.031 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8558, allocations: 0 / 1.031 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.8559, allocations: 57.56 kB / 1.031 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.856, allocations: 7.953 kB / 1.031 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.856, allocations: 4 kB / 1.031 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.856, allocations: 0 / 1.031 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.856, allocations: 4.062 kB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.856, allocations: 0 / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.856, allocations: 0 / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.856, allocations: 4 kB / 1.031 GB, free: 6.574 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.8561, allocations: 185.1 kB / 1.031 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.8562, allocations: 116.9 kB / 1.031 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.8563, allocations: 112.8 kB / 1.031 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.8563, allocations: 180.3 kB / 1.031 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/0.8564, allocations: 188.2 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/0.8564, allocations: 176.3 kB / 1.032 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.8567, allocations: 417.1 kB / 1.032 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/0.8567, allocations: 101 kB / 1.032 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.8567, allocations: 101 kB / 1.032 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.706e-05/0.8568, allocations: 188.2 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.8569, allocations: 180.3 kB / 1.033 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.087e-05/0.8569, allocations: 188.1 kB / 1.033 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.476e-05/0.857, allocations: 180.2 kB / 1.033 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.8572, allocations: 307.8 kB / 1.033 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.8572, allocations: 190 kB / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.8573, allocations: 180.5 kB / 1.034 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.8574, allocations: 101 kB / 1.034 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.8575, allocations: 188.2 kB / 1.034 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.8575, allocations: 116.9 kB / 1.034 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.8576, allocations: 105.3 kB / 1.034 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8576, allocations: 0 / 1.034 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006926/0.8583, allocations: 271.8 kB / 1.035 GB, free: 2.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008732/0.8591, allocations: 0.4939 MB / 1.035 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.8592, allocations: 33.7 kB / 1.035 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8593, allocations: 0 / 1.035 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.8593, allocations: 0 / 1.035 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.8596, allocations: 0.5341 MB / 1.036 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.8599, allocations: 253.5 kB / 1.036 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.8601, allocations: 0.6887 MB / 1.036 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.315e-05/0.8601, allocations: 0 / 1.036 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.8601, allocations: 11.44 kB / 1.036 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8601, allocations: 0 / 1.036 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of Templates: time 0.008878/0.869, allocations: 5.407 MB / 1.042 GB, free: 11.22 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches