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.0009233/0.0009233, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009538/0.0009538, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9017/0.9017, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.738/1.738, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.052e-06/1.052e-06, allocations: 0 / 0.8129 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.728e-06/1.078e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001496/0.001507, allocations: 1.492 MB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.004361, allocations: 2.764 MB / 0.817 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.004388, allocations: 3.938 kB / 0.817 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.004403, allocations: 0 / 0.817 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.004449, allocations: 25.25 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.006596, allocations: 1.638 MB / 0.8187 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.006657, allocations: 47.67 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.651e-05/0.006684, allocations: 3.906 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.006713, allocations: 26.28 kB / 0.8187 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.006733, allocations: 15.92 kB / 0.8188 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.006741, allocations: 0 / 0.8188 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.008056, allocations: 1.493 MB / 0.8202 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.008065, allocations: 11.38 kB / 0.8202 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.008083, allocations: 15.94 kB / 0.8202 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.009079, allocations: 1.278 MB / 0.8215 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00908, allocations: 0 / 0.8215 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.009082, allocations: 4 kB / 0.8215 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.009085, allocations: 0 / 0.8215 GB, free: 8.547 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.0003575/0.009442, allocations: 0.5647 MB / 0.822 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.531e-05/0.009468, allocations: 8.031 kB / 0.8221 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.00951, allocations: 132.1 kB / 0.8222 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.009594, allocations: 232.5 kB / 0.8224 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.009639, allocations: 238.8 kB / 0.8226 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.009686, allocations: 247.2 kB / 0.8229 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.678e-05/0.009733, allocations: 149.4 kB / 0.823 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.009758, allocations: 119.9 kB / 0.8231 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.01003, allocations: 243.1 kB / 0.8234 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.01008, allocations: 242.4 kB / 0.8236 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.01012, allocations: 239.8 kB / 0.8238 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.0103, allocations: 0.5686 MB / 0.8244 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.01037, allocations: 269.4 kB / 0.8246 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.0104, allocations: 131.5 kB / 0.8248 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.01043, allocations: 119.2 kB / 0.8249 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.01046, allocations: 157.3 kB / 0.825 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.01046, allocations: 0 / 0.825 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.241e-05/0.0105, allocations: 34.75 kB / 0.825 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.01054, allocations: 174.6 kB / 0.8252 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.01063, allocations: 200.1 kB / 0.8254 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.01064, allocations: 26.36 kB / 0.8254 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.01067, allocations: 140.2 kB / 0.8256 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.01068, allocations: 0 / 0.8256 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.0107, allocations: 23.38 kB / 0.8256 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.01079, allocations: 0.4884 MB / 0.8261 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.0108, allocations: 11.81 kB / 0.8261 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-06/0.01081, allocations: 4 kB / 0.8261 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.01084, allocations: 11.69 kB / 0.8261 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01084, allocations: 0 / 0.8261 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.832e-05/0.01091, allocations: 49.64 kB / 0.8261 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.01091, allocations: 8 kB / 0.8261 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.01093, allocations: 0 / 0.8261 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.01093, allocations: 7.938 kB / 0.8262 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.01093, allocations: 0 / 0.8262 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.01093, allocations: 3.938 kB / 0.8262 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.01095, allocations: 4.891 kB / 0.8262 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.01095, allocations: 0 / 0.8262 GB, free: 3.57 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 6.989e-05/0.01102, allocations: 280.8 kB / 0.8264 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.01106, allocations: 148.9 kB / 0.8266 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.0111, allocations: 160.6 kB / 0.8267 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/0.01114, allocations: 269.2 kB / 0.827 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.572e-05/0.01119, allocations: 268 kB / 0.8272 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.01124, allocations: 272 kB / 0.8275 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.01137, allocations: 489.6 kB / 0.828 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.0114, allocations: 148.8 kB / 0.8281 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.01143, allocations: 145 kB / 0.8282 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.754e-05/0.01147, allocations: 277 kB / 0.8285 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.01153, allocations: 272 kB / 0.8288 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.591e-05/0.01157, allocations: 264.6 kB / 0.829 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.731e-05/0.01162, allocations: 275.6 kB / 0.8293 GB, free: 264 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.01173, allocations: 452.1 kB / 0.8297 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.01177, allocations: 156.8 kB / 0.8299 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.01182, allocations: 264.1 kB / 0.8301 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.01187, allocations: 156.8 kB / 0.8303 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.01214, allocations: 268.1 kB / 0.8305 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.01216, allocations: 148.9 kB / 0.8307 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.0122, allocations: 144.5 kB / 0.8308 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.0122, allocations: 0 / 0.8308 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003834/0.01258, allocations: 295 kB / 0.8311 GB, free: 14.35 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.0006538/0.01324, allocations: 0.6468 MB / 0.8317 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.677e-05/0.0133, allocations: 45.33 kB / 0.8318 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.0133, allocations: 0 / 0.8318 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.0133, allocations: 64 / 0.8318 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.01357, allocations: 0.714 MB / 0.8325 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.01376, allocations: 273.3 kB / 0.8327 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.522e-05/0.01378, allocations: 59.2 kB / 0.8328 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.524e-06/0.01379, allocations: 0 / 0.8328 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.01383, allocations: 82.19 kB / 0.8328 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of SimCode: time 4.11e-07/0.01383, allocations: 4 kB / 0.8329 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of Templates: time 0.007346/0.02117, allocations: 7.358 MB / 0.84 GB, free: 5.156 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.88596153864637]