Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007149/0.007149, allocations: 102 kB / 15.73 MB, free: 6.477 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.001732/0.001732, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2653, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001676/0.267, allocations: 0.5563 MB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002208/0.2673, allocations: 107.7 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.2673, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.176e-05/0.2674, allocations: 11.94 kB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.2674, allocations: 0 / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.2676, allocations: 39.84 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.2677, allocations: 27.97 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.2677, allocations: 3.984 kB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.2678, allocations: 16 kB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.2678, allocations: 15.97 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2678, allocations: 0 / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.822e-05/0.2679, allocations: 12 kB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.2679, allocations: 3.938 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.2679, allocations: 15.92 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.284e-05/0.268, allocations: 31.95 kB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.268, allocations: 0 / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.62e-07/0.268, allocations: 0 / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.268, allocations: 0 / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003059/0.2683, allocations: 353.3 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2684, allocations: 12.03 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.2684, allocations: 0.9375 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2685, allocations: 168.4 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.2686, allocations: 384 / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.2686, allocations: 8.375 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.2687, allocations: 54.22 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.2687, allocations: 192 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2687, allocations: 11.88 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2687, allocations: 0 / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.2688, allocations: 15.88 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.2689, allocations: 153.7 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.269, allocations: 34.59 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.269, allocations: 16.91 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/0.269, allocations: 0 / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.269, allocations: 34.56 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.269, allocations: 0 / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002331/0.2693, allocations: 115.2 kB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2693, allocations: 81.11 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.2694, allocations: 97.97 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2694, allocations: 29.7 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.2695, allocations: 84.14 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2695, allocations: 0 / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.2695, allocations: 21.72 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.2696, allocations: 314.8 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.2697, allocations: 7.984 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.2697, allocations: 15.98 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.2698, allocations: 84.45 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2698, allocations: 0 / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000137/0.2699, allocations: 99.31 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.27, allocations: 37.7 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.27, allocations: 3.938 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.27, allocations: 0 / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.27, allocations: 0 / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.27, allocations: 0 / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2702, allocations: 7.984 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2702, allocations: 8.031 kB / 1.21 GB, free: 6.691 MB / 0.9669 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: 1 * 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 prepare postOptimizeDAE: time 8.493e-05/0.2703, allocations: 135.5 kB / 1.21 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.2703, allocations: 4 kB / 1.21 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.2703, allocations: 15.03 kB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2703, allocations: 0 / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2703, allocations: 4 kB / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.2703, allocations: 0 / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.2704, allocations: 157.6 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2704, allocations: 3.938 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2704, allocations: 4 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2704, allocations: 0 / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2705, allocations: 7.938 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2705, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2705, allocations: 3.984 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.2706, allocations: 118.8 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.2707, allocations: 89.03 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2707, allocations: 7.875 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2708, allocations: 8.031 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.2708, allocations: 4 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2709, allocations: 11.98 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.2709, allocations: 75.28 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2709, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002002/0.2711, allocations: 12 kB / 1.211 GB, free: 5.938 MB / 0.9669 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001916/0.2713, allocations: 114.7 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.2714, allocations: 83.38 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2715, allocations: 0 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.2715, allocations: 75.33 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2717, allocations: 9.562 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.2719, allocations: 109 kB / 1.211 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.2721, allocations: 0.6768 MB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.294e-05/0.2722, allocations: 4 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-06/0.2722, allocations: 7.438 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.2722, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of Templates: time 0.00309/0.2753, allocations: 1.109 MB / 1.213 GB, free: 3.688 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches