Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8736/0.8736, allocations: 177.2 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.8 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0.875 kB / 0.8116 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.759e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001776/0.001793, allocations: 1.51 MB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.004984, allocations: 2.824 MB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.005026, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.005049, allocations: 11.92 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.005101, allocations: 11.86 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.007673, allocations: 1.646 MB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.007741, allocations: 51.61 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.007773, allocations: 8.656 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.007805, allocations: 19.92 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.921e-05/0.007824, allocations: 16.42 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.007839, allocations: 4 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.009398, allocations: 1.491 MB / 0.8191 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.00941, allocations: 3.984 kB / 0.8191 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.009436, allocations: 19.92 kB / 0.8191 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.01068, allocations: 1.267 MB / 0.8203 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01068, allocations: 4 kB / 0.8203 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.01068, allocations: 0.9375 kB / 0.8203 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.01069, allocations: 0 / 0.8203 GB, free: 8.715 MB / 0.7761 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.0004553/0.01114, allocations: 0.5647 MB / 0.8209 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.01118, allocations: 9.281 kB / 0.8209 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.01123, allocations: 128.1 kB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.01133, allocations: 231.8 kB / 0.8212 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.01138, allocations: 247.7 kB / 0.8215 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.01143, allocations: 242.7 kB / 0.8217 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.405e-05/0.01148, allocations: 149.4 kB / 0.8218 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.01151, allocations: 120.5 kB / 0.822 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.01168, allocations: 242.5 kB / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.01173, allocations: 242.4 kB / 0.8224 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.01178, allocations: 242.3 kB / 0.8226 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.01198, allocations: 0.5836 MB / 0.8232 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.01205, allocations: 273.3 kB / 0.8235 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.01208, allocations: 130.9 kB / 0.8236 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.01211, allocations: 119.2 kB / 0.8237 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.01215, allocations: 164.6 kB / 0.8239 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.01215, allocations: 0 / 0.8239 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.061e-05/0.0122, allocations: 33.59 kB / 0.8239 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.01224, allocations: 178.5 kB / 0.8241 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.01235, allocations: 187.3 kB / 0.8243 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.01236, allocations: 30.58 kB / 0.8243 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.0124, allocations: 134.9 kB / 0.8244 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.0124, allocations: 1.062 kB / 0.8244 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.01243, allocations: 27.38 kB / 0.8244 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01253, allocations: 496.1 kB / 0.8249 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.01255, allocations: 5.094 kB / 0.8249 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.01256, allocations: 8 kB / 0.8249 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.01259, allocations: 11.69 kB / 0.8249 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01259, allocations: 1.125 kB / 0.8249 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.197e-05/0.01268, allocations: 49.59 kB / 0.825 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.01269, allocations: 8.625 kB / 0.825 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.01271, allocations: 8.922 kB / 0.825 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01272, allocations: 0 / 0.825 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.01273, allocations: 4.531 kB / 0.825 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01273, allocations: 0 / 0.825 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.01274, allocations: 4.516 kB / 0.825 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.01275, allocations: 5.594 kB / 0.825 GB, free: 3.707 MB / 0.7761 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.205e-05/0.01282, allocations: 275.8 kB / 0.8253 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.01286, allocations: 148.9 kB / 0.8254 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.0129, allocations: 160.6 kB / 0.8256 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/0.01295, allocations: 269 kB / 0.8258 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-05/0.013, allocations: 272 kB / 0.8261 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.903e-05/0.01305, allocations: 265.2 kB / 0.8263 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.01319, allocations: 0.4999 MB / 0.8268 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/0.01322, allocations: 156.8 kB / 0.827 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.01325, allocations: 145.5 kB / 0.8271 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-05/0.0133, allocations: 272.2 kB / 0.8274 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.01335, allocations: 268.7 kB / 0.8276 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.722e-05/0.0134, allocations: 268 kB / 0.8279 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.915e-05/0.01345, allocations: 271.5 kB / 0.8281 GB, free: 380 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.01357, allocations: 459.8 kB / 0.8286 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.0136, allocations: 152.8 kB / 0.8287 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.01366, allocations: 264.1 kB / 0.829 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.01372, allocations: 152.8 kB / 0.8291 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.0139, allocations: 280 kB / 0.8294 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.01392, allocations: 148.8 kB / 0.8295 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.01397, allocations: 141 kB / 0.8297 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01397, allocations: 0 / 0.8297 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004551/0.01442, allocations: 295.6 kB / 0.83 GB, free: 14.46 MB / 0.7917 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.0007442/0.01517, allocations: 0.6425 MB / 0.8306 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.55e-05/0.01524, allocations: 49.38 kB / 0.8306 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01525, allocations: 0 / 0.8306 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.01525, allocations: 0 / 0.8306 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01553, allocations: 0.71 MB / 0.8313 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.01577, allocations: 269.3 kB / 0.8316 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.0158, allocations: 63.28 kB / 0.8316 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.298e-06/0.01581, allocations: 0 / 0.8316 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.01582, allocations: 12.5 kB / 0.8317 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/0.01582, allocations: 0 / 0.8317 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of Templates: time 0.009055/0.02488, allocations: 8.051 MB / 0.8395 GB, free: 4.652 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7747119828127325]