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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001104/0.001104, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001412/0.001412, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 10.38 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2405, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006803/0.2412, allocations: 275 kB / 1.058 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.2414, allocations: 99.78 kB / 1.058 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.2414, allocations: 0 / 1.058 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.242e-05/0.2415, allocations: 11.98 kB / 1.058 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.2416, allocations: 0 / 1.058 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.2417, allocations: 31.91 kB / 1.058 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.2418, allocations: 23.98 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.2418, allocations: 0 / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.2418, allocations: 15.97 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.2419, allocations: 11.98 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2419, allocations: 7.938 kB / 1.058 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.545e-05/0.242, allocations: 8 kB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-06/0.242, allocations: 0 / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.242, allocations: 37.58 kB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.413e-05/0.2421, allocations: 19.97 kB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2421, allocations: 0 / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2421, allocations: 0 / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2421, allocations: 4 kB / 1.059 GB, free: 4.828 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002594/0.2424, allocations: 349 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2424, allocations: 12.03 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.2424, allocations: 4 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.2425, allocations: 163.1 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2426, allocations: 3.984 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2426, allocations: 7.953 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.2427, allocations: 49.67 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.2427, allocations: 8 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2427, allocations: 0 / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2427, allocations: 0 / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.2428, allocations: 11.98 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.2429, allocations: 157.6 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.243, allocations: 30.59 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.243, allocations: 16.91 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.243, allocations: 3.953 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2431, allocations: 38.56 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2431, allocations: 0 / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002212/0.2433, allocations: 107.3 kB / 1.059 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2433, allocations: 81.11 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.2434, allocations: 97.84 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2434, allocations: 29.7 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.2435, allocations: 80.39 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.2435, allocations: 7.906 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.2435, allocations: 4 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.2436, allocations: 310.8 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.2436, allocations: 19.92 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.2437, allocations: 8 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.2437, allocations: 41.69 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2437, allocations: 0 / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001291/0.2438, allocations: 91.39 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.2439, allocations: 45.67 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2439, allocations: 0 / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2439, allocations: 0 / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.2439, allocations: 0 / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2439, allocations: 7.938 kB / 1.06 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2441, allocations: 4 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2441, allocations: 3.984 kB / 1.06 GB, free: 2.816 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.2442, allocations: 143.8 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.2442, allocations: 8 kB / 1.06 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-06/0.2442, allocations: 11.08 kB / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2442, allocations: 0 / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2442, allocations: 0 / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2442, allocations: 0 / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.2443, allocations: 153.7 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2443, allocations: 0 / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2443, allocations: 0 / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2443, allocations: 0 / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2444, allocations: 8 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2444, allocations: 3.953 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2444, allocations: 0 / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2445, allocations: 130.8 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.2446, allocations: 81.05 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2446, allocations: 4 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.2447, allocations: 7.984 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.2447, allocations: 3.953 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2447, allocations: 4 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.2448, allocations: 83.31 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2448, allocations: 0 / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002055/0.245, allocations: 12 kB / 1.061 GB, free: 2.07 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.2452, allocations: 118.9 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2453, allocations: 83.48 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2453, allocations: 0 / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.2454, allocations: 71.39 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.2455, allocations: 4.75 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.2458, allocations: 110.6 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.246, allocations: 0.6692 MB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.494e-05/0.2461, allocations: 11.92 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.2461, allocations: 7.562 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.2461, allocations: 4 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of Templates: time 0.003046/0.2491, allocations: 1.017 MB / 1.063 GB, free: 15.91 MB / 0.8262 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