Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 104.3 kB / 16.4 MB, free: 5.977 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.001036/0.001036, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8924, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002962/0.8954, allocations: 1.479 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.8969, allocations: 0.9035 MB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.8971, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.8973, allocations: 35.83 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.8974, allocations: 31.78 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.898, allocations: 182.8 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.8982, allocations: 51.67 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.8982, allocations: 8 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.8983, allocations: 19.86 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.8983, allocations: 19.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.8983, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.8988, allocations: 171.8 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.8988, allocations: 3.938 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.8988, allocations: 23.81 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.8991, allocations: 125.5 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8991, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8991, allocations: 3.938 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8991, allocations: 4 kB / 1.211 GB, free: 10.66 MB / 0.9356 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.0003987/0.8995, allocations: 367.2 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8996, allocations: 8.031 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.8996, allocations: 80.22 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.8999, allocations: 267.4 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.9, allocations: 150.9 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.9001, allocations: 154.9 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.106e-05/0.9002, allocations: 113.2 kB / 1.213 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.9002, allocations: 75.28 kB / 1.213 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.9003, allocations: 150.6 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.9003, allocations: 154.6 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.9004, allocations: 150.6 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.9007, allocations: 473.8 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.9008, allocations: 169.1 kB / 1.214 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.9009, allocations: 84.14 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.9009, allocations: 75.28 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.901, allocations: 121.8 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.901, allocations: 0 / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.314e-05/0.9011, allocations: 25.7 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.9011, allocations: 130.6 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.9013, allocations: 139.8 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.9013, allocations: 25.7 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.9014, allocations: 96.12 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.9014, allocations: 4 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.9014, allocations: 13.72 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9015, allocations: 314.8 kB / 1.215 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.9016, allocations: 4 kB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.9016, allocations: 11.98 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.9016, allocations: 8.859 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9016, allocations: 0 / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.9017, allocations: 53.48 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.9018, allocations: 4 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.9018, allocations: 12.05 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9018, allocations: 0 / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.9018, allocations: 3.938 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9018, allocations: 0 / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.9019, allocations: 0 / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.9019, allocations: 4 kB / 1.215 GB, free: 7.055 MB / 0.9356 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.0001121/0.902, allocations: 189.1 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.9021, allocations: 112.8 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.9021, allocations: 116.8 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/0.9022, allocations: 180.3 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-05/0.9023, allocations: 176.3 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/0.9023, allocations: 188.2 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.9026, allocations: 413.2 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-05/0.9026, allocations: 108.9 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.9027, allocations: 104.9 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.494e-05/0.9027, allocations: 176.3 kB / 1.216 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.9028, allocations: 192.2 kB / 1.217 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.833e-05/0.9029, allocations: 176.3 kB / 1.217 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.486e-05/0.9029, allocations: 184.2 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.9031, allocations: 311.8 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.9032, allocations: 190 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.9033, allocations: 180.2 kB / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.9033, allocations: 108.9 kB / 1.218 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.9034, allocations: 180.3 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.9035, allocations: 104.9 kB / 1.218 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.9035, allocations: 101 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9035, allocations: 4 kB / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002825/0.9038, allocations: 35.92 kB / 1.218 GB, free: 3.371 MB / 0.9356 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.0002944/0.9041, allocations: 206.5 kB / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.9042, allocations: 45.69 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9042, allocations: 0 / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.9043, allocations: 0 / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.9047, allocations: 463.6 kB / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.9051, allocations: 280.5 kB / 1.219 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.9053, allocations: 0.6842 MB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.9053, allocations: 11.44 kB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.9054, allocations: 3.938 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of Templates: time 0.002869/0.9082, allocations: 1.231 MB / 1.221 GB, free: 412 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches