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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009634/0.0009635, allocations: 176.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.3 MB / 0.7871 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009376/0.0009374, allocations: 93.67 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.225e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2858, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.939/1.225, allocations: 149.3 MB / 1.358 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.225, allocations: 84.8 kB / 1.358 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009822/1.235, allocations: 3.84 MB / 1.362 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.684e-06/1.235, allocations: 0 / 1.362 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.235, allocations: 3.938 kB / 1.362 GB, free: 34.46 MB / 0.8386 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.0002268/1.235, allocations: 341.4 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.235, allocations: 10.03 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/1.235, allocations: 3.312 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/1.235, allocations: 164.9 kB / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.236, allocations: 3.375 kB / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/1.236, allocations: 3.312 kB / 1.363 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/1.236, allocations: 61.88 kB / 1.363 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.236, allocations: 1.594 kB / 1.363 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.236, allocations: 3.312 kB / 1.363 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.236, allocations: 0 / 1.363 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/1.236, allocations: 10.12 kB / 1.363 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/1.236, allocations: 153.9 kB / 1.363 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/1.236, allocations: 28.55 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/1.236, allocations: 33.38 kB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/1.236, allocations: 0 / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.236, allocations: 33.88 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/1.236, allocations: 3.938 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001657/1.236, allocations: 85.88 kB / 1.363 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/1.236, allocations: 80.95 kB / 1.363 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/1.236, allocations: 91.27 kB / 1.363 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/1.236, allocations: 29.86 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/1.236, allocations: 83.27 kB / 1.363 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/1.236, allocations: 11.72 kB / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/1.236, allocations: 0 / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.372e-05/1.236, allocations: 314.8 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/1.236, allocations: 12.19 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/1.236, allocations: 7.625 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/1.237, allocations: 40.59 kB / 1.364 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.237, allocations: 8.016 kB / 1.364 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/1.237, allocations: 91.62 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.237, allocations: 35.14 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.237, allocations: 3.906 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/1.237, allocations: 0 / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/1.237, allocations: 0 / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.237, allocations: 3.984 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/1.237, allocations: 7.656 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/1.237, allocations: 3.812 kB / 1.364 GB, free: 32.75 MB / 0.8386 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 () * 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 7.687e-05/1.237, allocations: 136.3 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/1.237, allocations: 7.828 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/1.237, allocations: 3.125 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.237, allocations: 0 / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.237, allocations: 7.75 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/1.237, allocations: 3.938 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.034e-05/1.237, allocations: 155.2 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.237, allocations: 0 / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/1.237, allocations: 3.953 kB / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/1.237, allocations: 0 / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.237, allocations: 9.047 kB / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.237, allocations: 0 / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.237, allocations: 0 / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/1.237, allocations: 122.9 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/1.237, allocations: 78.52 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.237, allocations: 3.953 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/1.237, allocations: 9.156 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/1.237, allocations: 5.484 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/1.237, allocations: 3.875 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.092e-05/1.237, allocations: 78.59 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.237, allocations: 0 / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001911/1.238, allocations: 20.69 kB / 1.364 GB, free: 32.12 MB / 0.8386 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 () * 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.0002272/1.238, allocations: 123.3 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001163/1.238, allocations: 83.38 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.238, allocations: 0 / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/1.238, allocations: 67.77 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/1.238, allocations: 6.062 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/1.239, allocations: 177.1 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.239, allocations: 0.6763 MB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.703e-05/1.239, allocations: 9.047 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/1.239, allocations: 8.75 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.239, allocations: 0 / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.002939/1.242, allocations: 1.013 MB / 1.366 GB, free: 30.97 MB / 0.8386 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","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches