Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007446/0.007446, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001399/0.001399, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.75 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2506, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001987/0.2527, allocations: 0.5504 MB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000269/0.253, allocations: 112 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.253, allocations: 3.938 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2531, allocations: 4 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.2532, allocations: 0 / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2534, allocations: 39.89 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.054e-05/0.2535, allocations: 27.98 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.2535, allocations: 3.938 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.2536, allocations: 23.97 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.2536, allocations: 11.98 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2537, allocations: 0 / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.481e-05/0.2537, allocations: 8 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2537, allocations: 7.922 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2538, allocations: 8 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2539, allocations: 31.95 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2539, allocations: 0 / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2539, allocations: 0 / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2539, allocations: 4 kB / 1.089 GB, free: 0.6523 MB / 0.8419 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.0003594/0.2543, allocations: 357.3 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2543, allocations: 12.03 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.2544, allocations: 4.875 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2545, allocations: 168.4 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2545, allocations: 384 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2545, allocations: 8.312 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2547, allocations: 58.22 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2547, allocations: 4.188 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2547, allocations: 7.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2547, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.2548, allocations: 11.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.2549, allocations: 153.7 kB / 1.089 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.118e-05/0.255, allocations: 26.59 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.255, allocations: 20.86 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.2551, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2551, allocations: 38.56 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2551, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002372/0.2553, allocations: 111.3 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.2554, allocations: 81.11 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.2555, allocations: 89.86 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2555, allocations: 29.7 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.2555, allocations: 80.39 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2556, allocations: 7.906 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.2556, allocations: 25.7 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2557, allocations: 314.8 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.2558, allocations: 15.92 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.2558, allocations: 8 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.2559, allocations: 84.25 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2559, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001359/0.256, allocations: 95.45 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.2561, allocations: 41.62 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2561, allocations: 3.938 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2561, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2561, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2561, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.2563, allocations: 7.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2563, allocations: 11.98 kB / 1.091 GB, free: 14.54 MB / 0.8575 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 9.404e-05/0.2564, allocations: 139.5 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.2564, allocations: 11.94 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.2565, allocations: 7.062 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2565, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2565, allocations: 4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2565, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.941e-05/0.2566, allocations: 157.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2566, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.2566, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2566, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2566, allocations: 7.938 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2566, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2566, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.2568, allocations: 118.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.2568, allocations: 81.11 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.2569, allocations: 3.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.257, allocations: 7.984 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.257, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.257, allocations: 11.97 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.2571, allocations: 75.28 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2571, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000204/0.2573, allocations: 16 kB / 1.091 GB, free: 13.79 MB / 0.8575 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.0002298/0.2575, allocations: 111.3 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2577, allocations: 83.39 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2577, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.2578, allocations: 71.39 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.2579, allocations: 8 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.2582, allocations: 108.9 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2585, allocations: 0.6729 MB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.079e-05/0.2585, allocations: 15.86 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.2586, allocations: 11.56 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.2586, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.003515/0.2621, allocations: 1.095 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches