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.0009769/0.000977, allocations: 97.95 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.007901/0.007901, allocations: 171.5 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.334/1.334, 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.0-master/package.mo): time 2.706/2.706, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 7.344 kB / 0.9027 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007181/0.2546, allocations: 279 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000262/0.2549, allocations: 119.6 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.162e-05/0.2549, allocations: 0 / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.309e-05/0.255, allocations: 4 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.2551, allocations: 0 / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.2552, allocations: 31.91 kB / 1.059 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.2553, allocations: 27.98 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2554, allocations: 4 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.2554, allocations: 15.98 kB / 1.059 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.2554, allocations: 7.984 kB / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2555, allocations: 4 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.2555, allocations: 12 kB / 1.059 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.2555, allocations: 3.938 kB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.2556, allocations: 41.67 kB / 1.059 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.506e-05/0.2557, allocations: 23.95 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2557, allocations: 0 / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2557, allocations: 4 kB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2557, allocations: 4 kB / 1.059 GB, free: 4.367 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.0002658/0.256, allocations: 349.2 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.256, allocations: 8.031 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.2561, allocations: 12.81 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2562, allocations: 160.4 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2562, allocations: 4.375 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2562, allocations: 4.375 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2563, allocations: 58.17 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-06/0.2563, allocations: 192 / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2563, allocations: 11.92 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2564, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.575e-05/0.2564, allocations: 11.98 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.2565, allocations: 153.7 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.2566, allocations: 30.59 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.2566, allocations: 16.92 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.2566, allocations: 11.92 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2567, allocations: 30.56 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2567, allocations: 0 / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002207/0.2569, allocations: 111.3 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2569, allocations: 77.11 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.257, allocations: 93.86 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.257, allocations: 25.7 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2571, allocations: 92.38 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2571, allocations: 3.906 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2571, allocations: 13.72 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.2572, allocations: 314.8 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.2573, allocations: 8 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.2573, allocations: 15.92 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.2574, allocations: 80.25 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2574, allocations: 0 / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001272/0.2575, allocations: 95.45 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2576, allocations: 41.69 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2576, allocations: 3.938 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.2576, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2576, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2576, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2578, allocations: 8 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2578, allocations: 4 kB / 1.061 GB, free: 2.285 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.2579, allocations: 139.8 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.2579, allocations: 15.88 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-06/0.2579, allocations: 7.062 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2579, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2579, allocations: 4 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2579, allocations: 0 / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.435e-05/0.258, allocations: 157.7 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.258, allocations: 3.938 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.258, allocations: 0 / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2581, allocations: 0 / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2581, allocations: 7.938 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2581, allocations: 4 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2581, allocations: 0 / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2582, allocations: 118.8 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2583, allocations: 85.05 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2583, allocations: 3.938 kB / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2584, allocations: 7.984 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.2584, allocations: 4 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2584, allocations: 12.03 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.2585, allocations: 75.28 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2585, allocations: 3.938 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001987/0.2587, allocations: 12 kB / 1.062 GB, free: 1.531 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 (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.0001888/0.2589, allocations: 112 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.259, allocations: 83.39 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.259, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/0.2591, allocations: 71.39 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2592, allocations: 4 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.2595, allocations: 114.6 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2597, allocations: 0.6692 MB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.2598, allocations: 12.11 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.2598, allocations: 7.438 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of SimCode: time 1.452e-06/0.2598, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of Templates: time 0.00309/0.2629, allocations: 1.06 MB / 1.064 GB, free: 15.33 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