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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.008182/0.008182, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001865/0.001865, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.6 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.12 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002307/0.2725, allocations: 1.481 MB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2738, allocations: 0.9155 MB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.2738, allocations: 7.938 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.274, allocations: 39.75 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.2741, allocations: 23.78 kB / 1.228 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.2746, allocations: 199.8 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.645e-05/0.2747, allocations: 51.67 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.2747, allocations: 0 / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.2748, allocations: 15.92 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.895e-05/0.2748, allocations: 15.88 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2748, allocations: 4 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.2752, allocations: 175.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.2752, allocations: 3.984 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.2752, allocations: 19.88 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2754, allocations: 127.5 kB / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2754, allocations: 0 / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2754, allocations: 0 / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2755, allocations: 0 / 1.229 GB, free: 6.09 MB / 0.9825 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.0003233/0.2758, allocations: 375 kB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2758, allocations: 12.03 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2759, allocations: 84.17 kB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2761, allocations: 265.2 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.2762, allocations: 150.9 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.2762, allocations: 154.9 kB / 1.23 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.274e-05/0.2763, allocations: 109.2 kB / 1.23 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.2763, allocations: 79.28 kB / 1.23 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.2764, allocations: 154.6 kB / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.2764, allocations: 150.6 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.2765, allocations: 150.6 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.2768, allocations: 465.9 kB / 1.231 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.2768, allocations: 177.1 kB / 1.231 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.2769, allocations: 80.14 kB / 1.231 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2769, allocations: 75.33 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.2769, allocations: 113.8 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.277, allocations: 0 / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.394e-05/0.277, allocations: 33.7 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2771, allocations: 130.7 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2772, allocations: 136.3 kB / 1.231 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2772, allocations: 29.64 kB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.2773, allocations: 92.09 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/0.2773, allocations: 4 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2773, allocations: 17.66 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.2774, allocations: 322.8 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.2775, allocations: 4 kB / 1.232 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.2775, allocations: 0 / 1.232 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.2775, allocations: 24.78 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2775, allocations: 0 / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.2776, allocations: 45.64 kB / 1.232 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2776, allocations: 4 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.2777, allocations: 4 kB / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.2777, allocations: 0 / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2777, allocations: 0 / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2777, allocations: 4.062 kB / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.2777, allocations: 7.891 kB / 1.232 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2777, allocations: 3.984 kB / 1.232 GB, free: 2.473 MB / 0.9825 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 8.496e-05/0.2778, allocations: 185.1 kB / 1.232 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.2779, allocations: 112.9 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.2779, allocations: 108.9 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.886e-05/0.278, allocations: 188.2 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-05/0.2781, allocations: 184.2 kB / 1.233 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-05/0.2781, allocations: 180.2 kB / 1.233 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.2783, allocations: 413.2 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/0.2784, allocations: 101 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.2784, allocations: 112.8 kB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.2785, allocations: 180.3 kB / 1.234 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/0.2786, allocations: 184.2 kB / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.782e-05/0.2786, allocations: 176.3 kB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.248e-05/0.2787, allocations: 180.3 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.2788, allocations: 311.8 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.2789, allocations: 193.9 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.279, allocations: 184.3 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.2791, allocations: 101 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.2791, allocations: 188.2 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.2792, allocations: 101 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.2792, allocations: 107.2 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2792, allocations: 0 / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002693/0.2795, allocations: 35.88 kB / 1.235 GB, free: 14.79 MB / 0.9981 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.000249/0.2798, allocations: 222.3 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.2799, allocations: 37.64 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2799, allocations: 0 / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.2799, allocations: 4 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.2803, allocations: 469.6 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.2806, allocations: 230.7 kB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2808, allocations: 0.6885 MB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.729e-05/0.2808, allocations: 4.25 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.2808, allocations: 7.438 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2808, allocations: 3.938 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of Templates: time 0.003498/0.2843, allocations: 1.493 MB / 1.238 GB, free: 11.62 MB / 0.9981 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/jenkins/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