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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001692/0.001692, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 70.66 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2468, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00238/0.2492, allocations: 1.534 MB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2505, allocations: 0.9425 MB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.2505, allocations: 3.938 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.2507, allocations: 35.83 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.2508, allocations: 19.84 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.2512, allocations: 167 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.2513, allocations: 47.73 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.2513, allocations: 4 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.2514, allocations: 15.88 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.2514, allocations: 31.84 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.2514, allocations: 0 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.2517, allocations: 143.8 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.2517, allocations: 3.984 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.2518, allocations: 19.88 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.252, allocations: 127.9 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.252, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.42e-07/0.252, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.252, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 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.0003321/0.2523, allocations: 375.2 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2524, allocations: 12.03 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.2524, allocations: 76.22 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2526, allocations: 265.6 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.2526, allocations: 154.9 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.2527, allocations: 150.9 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.713e-05/0.2528, allocations: 109.3 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2528, allocations: 79.28 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2528, allocations: 154.5 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.2529, allocations: 150.6 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/0.2529, allocations: 158.5 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.2532, allocations: 457.9 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/0.2533, allocations: 169.1 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.2533, allocations: 80.14 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.2533, allocations: 83.2 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.2534, allocations: 113.8 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2534, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.011e-05/0.2534, allocations: 29.75 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2535, allocations: 130.7 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2536, allocations: 133.7 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2536, allocations: 29.64 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.2537, allocations: 96.12 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.2537, allocations: 0 / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.2537, allocations: 13.72 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.2538, allocations: 322.8 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.2539, allocations: 7.984 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.2539, allocations: 7.938 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.2539, allocations: 12.86 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2539, allocations: 0 / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.254, allocations: 49.55 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2541, allocations: 9.547 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.2541, allocations: 7.984 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2541, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.2541, allocations: 64 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2541, allocations: 4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.2541, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2542, allocations: 4 kB / 1.074 GB, free: 4.16 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.521e-05/0.2542, allocations: 181.1 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.2543, allocations: 120.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.2544, allocations: 112.6 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/0.2544, allocations: 188.2 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.885e-05/0.2545, allocations: 176.3 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/0.2545, allocations: 176.3 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.2547, allocations: 421.1 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/0.2548, allocations: 101.1 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.2548, allocations: 112.9 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.056e-05/0.2549, allocations: 184.3 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.2549, allocations: 180.2 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.255, allocations: 184.2 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-05/0.255, allocations: 180.2 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2551, allocations: 307.8 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.2552, allocations: 197.9 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.2553, allocations: 188.2 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.2554, allocations: 101 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2554, allocations: 180.2 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.2555, allocations: 101 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.806e-05/0.2555, allocations: 112.9 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2555, allocations: 0 / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002804/0.2558, allocations: 35.92 kB / 1.077 GB, free: 480 kB / 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.0002662/0.2561, allocations: 218.4 kB / 1.077 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.2562, allocations: 41.64 kB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2562, allocations: 0 / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2562, allocations: 0 / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.2567, allocations: 0.533 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.257, allocations: 236.7 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2572, allocations: 0.6848 MB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.2572, allocations: 4 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.2573, allocations: 7.438 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.2573, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.003759/0.261, allocations: 1.496 MB / 1.08 GB, free: 13.22 MB / 0.8419 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