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.001026/0.001026, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007825/0.007825, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 462.6 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 13.06 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2588, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001461/0.2603, allocations: 1.204 MB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2615, allocations: 0.923 MB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.2616, allocations: 4 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.2618, allocations: 43.81 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.653e-05/0.2618, allocations: 15.86 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.2622, allocations: 170.8 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.2623, allocations: 51.67 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.2623, allocations: 7.938 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.2624, allocations: 11.94 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.531e-05/0.2624, allocations: 11.88 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.2625, allocations: 8 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.2627, allocations: 151.8 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.2627, allocations: 4 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.2628, allocations: 45.58 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.263, allocations: 123.9 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.263, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.011e-06/0.263, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.263, allocations: 0 / 1.061 GB, free: 2.703 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.0002856/0.2633, allocations: 359.3 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.2633, allocations: 8.031 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.2634, allocations: 84.22 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2636, allocations: 267.4 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.2636, allocations: 150.9 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.2637, allocations: 154.9 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.147e-05/0.2637, allocations: 109.2 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.2638, allocations: 79.28 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.2638, allocations: 154.6 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.2638, allocations: 150.6 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.2639, allocations: 150.6 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.2642, allocations: 461.9 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.713e-05/0.2642, allocations: 173.1 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.2643, allocations: 80.14 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2643, allocations: 75.28 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2643, allocations: 117.8 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2643, allocations: 0 / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.782e-05/0.2644, allocations: 33.61 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.2645, allocations: 134.6 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2646, allocations: 139.5 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2646, allocations: 25.7 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.2647, allocations: 88.14 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.2647, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.2647, allocations: 17.66 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.2648, allocations: 318.8 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.2648, allocations: 4 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.291e-05/0.2649, allocations: 8 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.2649, allocations: 12.89 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2649, allocations: 0 / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.265, allocations: 53.53 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.265, allocations: 8 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.265, allocations: 7.875 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.2651, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.2651, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.2651, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.2651, allocations: 4.062 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2651, allocations: 4 kB / 1.065 GB, free: 15.11 MB / 0.8262 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.638e-05/0.2652, allocations: 186.7 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.2653, allocations: 120.9 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.2653, allocations: 112.8 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.459e-05/0.2654, allocations: 176.3 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-05/0.2654, allocations: 188.3 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.217e-05/0.2655, allocations: 184.2 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2657, allocations: 409.2 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/0.2658, allocations: 104.9 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.2658, allocations: 112.9 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.125e-05/0.2658, allocations: 176.3 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.2659, allocations: 188.2 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.891e-05/0.266, allocations: 176.3 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.488e-05/0.266, allocations: 184.2 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2662, allocations: 303.8 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.2662, allocations: 193.9 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.2663, allocations: 180.3 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.2664, allocations: 104.9 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.2664, allocations: 180.3 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.2665, allocations: 109 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.2665, allocations: 100.5 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2665, allocations: 7.938 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002647/0.2668, allocations: 35.94 kB / 1.068 GB, free: 11.43 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.0002514/0.2671, allocations: 218.4 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.2672, allocations: 37.7 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2672, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2672, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2676, allocations: 0.538 MB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.2679, allocations: 251.6 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2681, allocations: 0.6848 MB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.2681, allocations: 4 kB / 1.07 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.066e-05/0.2682, allocations: 7.438 kB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2682, allocations: 0 / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.003559/0.2717, allocations: 1.493 MB / 1.071 GB, free: 8.168 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