Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002479/0.002478, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 71.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8967, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003334/0.9001, allocations: 1.487 MB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005927/0.906, allocations: 2.955 MB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.9062, allocations: 0 / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.9063, allocations: 4 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.9064, allocations: 16.88 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005073/0.9115, allocations: 1.377 MB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.9116, allocations: 41.34 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.9116, allocations: 3.062 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.9117, allocations: 19.14 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.9117, allocations: 11.47 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.9118, allocations: 5.062 kB / 0.9548 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.915, allocations: 1.428 MB / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.915, allocations: 5.75 kB / 0.9562 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.9151, allocations: 19.09 kB / 0.9562 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.9171, allocations: 1.091 MB / 0.9572 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.9171, allocations: 5.094 kB / 0.9572 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9171, allocations: 0 / 0.9572 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.9172, allocations: 0 / 0.9572 GB, free: 3.305 MB / 0.7169 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.0007112/0.9179, allocations: 0.5165 MB / 0.9578 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.918, allocations: 13.03 kB / 0.9578 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.918, allocations: 82.34 kB / 0.9578 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.9182, allocations: 245.3 kB / 0.9581 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.9182, allocations: 156 kB / 0.9582 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.9183, allocations: 150.9 kB / 0.9584 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.119e-05/0.9183, allocations: 106.2 kB / 0.9585 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.9184, allocations: 83.22 kB / 0.9585 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.9184, allocations: 151.8 kB / 0.9587 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.9184, allocations: 150.6 kB / 0.9588 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.9185, allocations: 155.6 kB / 0.959 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.9188, allocations: 456.9 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.9188, allocations: 175.1 kB / 0.9596 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.9189, allocations: 84.08 kB / 0.9597 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.9189, allocations: 75.28 kB / 0.9597 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.9189, allocations: 110.9 kB / 0.9598 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.9189, allocations: 0 / 0.9598 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.656e-05/0.919, allocations: 36.92 kB / 0.9599 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.9191, allocations: 130.6 kB / 0.96 GB, free: 388 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.9193, allocations: 134.2 kB / 0.9601 GB, free: 264 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.9193, allocations: 26.52 kB / 0.9602 GB, free: 232 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.9194, allocations: 90.34 kB / 0.9602 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.9194, allocations: 0 / 0.9602 GB, free: 140 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.9194, allocations: 18.84 kB / 0.9603 GB, free: 120 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9196, allocations: 319.9 kB / 0.9606 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.9196, allocations: 11.22 kB / 0.9606 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.9197, allocations: 3.281 kB / 0.9606 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.9197, allocations: 17.64 kB / 0.9606 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9197, allocations: 1.094 kB / 0.9606 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001737/0.9199, allocations: 50.81 kB / 0.9606 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.9199, allocations: 6.5 kB / 0.9607 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.92, allocations: 1.812 kB / 0.9607 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.92, allocations: 0.7812 kB / 0.9607 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.92, allocations: 0 / 0.9607 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.92, allocations: 4.938 kB / 0.9607 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.9201, allocations: 0.75 kB / 0.9607 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.9201, allocations: 1.875 kB / 0.9607 GB, free: 15.73 MB / 0.7325 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.0001297/0.9202, allocations: 190.1 kB / 0.9608 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.9203, allocations: 116.1 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.9204, allocations: 114.8 kB / 0.9611 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-05/0.9205, allocations: 181.3 kB / 0.9612 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.502e-05/0.9206, allocations: 181.4 kB / 0.9614 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.329e-05/0.9206, allocations: 184.2 kB / 0.9616 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.921, allocations: 416.6 kB / 0.962 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.395e-05/0.921, allocations: 105.1 kB / 0.9621 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.9211, allocations: 114.1 kB / 0.9622 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.641e-05/0.9212, allocations: 181.2 kB / 0.9624 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.9213, allocations: 185.2 kB / 0.9625 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.208e-05/0.9214, allocations: 181.4 kB / 0.9627 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.232e-05/0.9215, allocations: 177.3 kB / 0.9629 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.9217, allocations: 309.1 kB / 0.9632 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.9218, allocations: 195.8 kB / 0.9634 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.9219, allocations: 177.3 kB / 0.9635 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.922, allocations: 102.1 kB / 0.9636 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.9221, allocations: 185.2 kB / 0.9638 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.9222, allocations: 102 kB / 0.9639 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000104/0.9223, allocations: 108.9 kB / 0.964 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.9223, allocations: 0 / 0.964 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001626/0.9239, allocations: 283.4 kB / 0.9643 GB, free: 12.04 MB / 0.7325 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.00175/0.9257, allocations: 0.5081 MB / 0.9648 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.9258, allocations: 44.38 kB / 0.9648 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9259, allocations: 1.344 kB / 0.9648 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.9259, allocations: 4.062 kB / 0.9648 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.9266, allocations: 0.5342 MB / 0.9653 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.927, allocations: 240.8 kB / 0.9656 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.9274, allocations: 0.6804 MB / 0.9662 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.9274, allocations: 1.25 kB / 0.9662 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.9275, allocations: 8.531 kB / 0.9662 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9275, allocations: 0 / 0.9662 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.01477/0.9423, allocations: 5.469 MB / 0.9716 GB, free: 7.438 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches