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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 195 kB / 16.14 MB, free: 6.648 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 72.11 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2455, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002395/0.2479, allocations: 1.517 MB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2492, allocations: 0.9463 MB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.2493, allocations: 3.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2495, allocations: 47.83 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.665e-05/0.2495, allocations: 15.84 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.2499, allocations: 166.1 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.25, allocations: 51.67 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.25, allocations: 8 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.2501, allocations: 19.88 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.2501, allocations: 19.86 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.2501, allocations: 3.938 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.2504, allocations: 143.8 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.2504, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.2505, allocations: 23.86 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.2506, allocations: 123.8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2507, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2507, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2507, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 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.0003159/0.251, allocations: 367.3 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.251, allocations: 12.03 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.2511, allocations: 84.11 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.2513, allocations: 259.5 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.2513, allocations: 150.9 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.2514, allocations: 158.9 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.1e-05/0.2514, allocations: 105.3 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.2514, allocations: 75.28 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.2515, allocations: 150.6 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.2515, allocations: 154.6 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.2516, allocations: 154.5 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.2519, allocations: 465.9 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.2519, allocations: 165.1 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.252, allocations: 84.14 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.252, allocations: 75.28 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.252, allocations: 117.7 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.252, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.996e-05/0.2521, allocations: 41.59 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2522, allocations: 126.7 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2523, allocations: 133.4 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2523, allocations: 29.64 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.2524, allocations: 96.05 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.2524, allocations: 4 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.2524, allocations: 17.7 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.2525, allocations: 318.8 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.2525, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.2526, allocations: 8 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.2526, allocations: 16.78 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2526, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.2527, allocations: 49.67 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2527, allocations: 8.062 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.2528, allocations: 4 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2528, allocations: 3.984 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2528, allocations: 0 / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.2528, allocations: 3.938 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.2528, allocations: 7.906 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2528, allocations: 0 / 1.058 GB, free: 2.141 MB / 0.8106 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.775e-05/0.2529, allocations: 190.7 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.253, allocations: 112.9 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.253, allocations: 116.8 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/0.2531, allocations: 180.2 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.725e-05/0.2531, allocations: 176.3 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-05/0.2532, allocations: 180.3 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2534, allocations: 413.2 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/0.2534, allocations: 109 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.2535, allocations: 108.9 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.863e-05/0.2535, allocations: 180.3 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.2536, allocations: 180.3 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.716e-05/0.2537, allocations: 180.2 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.264e-05/0.2537, allocations: 180.2 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.2538, allocations: 319.7 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.2539, allocations: 185.9 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.254, allocations: 188.2 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.254, allocations: 105 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2541, allocations: 184.2 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.2541, allocations: 101 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.2542, allocations: 107.2 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2542, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002729/0.2545, allocations: 39.92 kB / 1.062 GB, free: 14.46 MB / 0.8262 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.0002506/0.2547, allocations: 214.4 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/0.2548, allocations: 45.69 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2548, allocations: 3.938 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2548, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2553, allocations: 0.5263 MB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.2556, allocations: 232.9 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2558, allocations: 0.6848 MB / 1.063 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.2558, allocations: 3.938 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-06/0.2558, allocations: 7.438 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2558, allocations: 8 kB / 1.063 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.003467/0.2593, allocations: 1.491 MB / 1.065 GB, free: 11.21 MB / 0.8262 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