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.283/2.283, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001152/0.001152, allocations: 181.1 kB / 498.1 MB, free: 5.754 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.53/1.53, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001105/0.001105, allocations: 104 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 7 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3108, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.5061, allocations: 149.4 MB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.5065, allocations: 79.95 kB / 1.369 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01017/0.5167, allocations: 3.838 MB / 1.373 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5167, allocations: 0 / 1.373 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5167, allocations: 4 kB / 1.373 GB, free: 8.785 MB / 0.8698 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.0003024/0.517, allocations: 357 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5171, allocations: 8.031 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.5171, allocations: 4 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5172, allocations: 163 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5173, allocations: 3.984 kB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5173, allocations: 4 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5174, allocations: 57.66 kB / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5174, allocations: 4 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5175, allocations: 0 / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5175, allocations: 0 / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.5175, allocations: 15.94 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.5177, allocations: 161.5 kB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.5177, allocations: 26.61 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.5177, allocations: 0 / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.5178, allocations: 38.62 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5178, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002382/0.518, allocations: 111.2 kB / 1.374 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.5181, allocations: 81.09 kB / 1.374 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.5182, allocations: 89 kB / 1.374 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.5182, allocations: 25.7 kB / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.5182, allocations: 80.14 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.5183, allocations: 7.984 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.5183, allocations: 256 / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5184, allocations: 322.8 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.5184, allocations: 7.984 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.5185, allocations: 12 kB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.5185, allocations: 41.64 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5185, allocations: 0 / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001267/0.5187, allocations: 91.39 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5187, allocations: 37.64 kB / 1.374 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5187, allocations: 3.938 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5187, allocations: 4.094 kB / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.557e-06/0.5187, allocations: 7.984 kB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5187, allocations: 0 / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.5188, allocations: 4 kB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5189, allocations: 4 kB / 1.374 GB, free: 6.801 MB / 0.8698 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 9.476e-05/0.519, allocations: 143.5 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.519, allocations: 4 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.321e-05/0.519, allocations: 3.125 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.519, allocations: 4 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.519, allocations: 0 / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.519, allocations: 0 / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5191, allocations: 153.7 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5191, allocations: 3.953 kB / 1.375 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5191, allocations: 0 / 1.375 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5192, allocations: 4 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5192, allocations: 3.984 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5192, allocations: 0 / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5192, allocations: 0 / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.5193, allocations: 134.7 kB / 1.375 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.5194, allocations: 85.05 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.5194, allocations: 0 / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.5195, allocations: 8 kB / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.5195, allocations: 3.938 kB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5196, allocations: 7.984 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.5196, allocations: 79.31 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5196, allocations: 4.094 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001837/0.5198, allocations: 12 kB / 1.375 GB, free: 6.051 MB / 0.8698 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.0002319/0.52, allocations: 127.6 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.5202, allocations: 83.38 kB / 1.375 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5202, allocations: 4.062 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.5202, allocations: 75.39 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.456e-05/0.5203, allocations: 0 / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.5209, allocations: 202.6 kB / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.5211, allocations: 0.6692 MB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.025e-05/0.5212, allocations: 7.984 kB / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.5212, allocations: 7.438 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5212, allocations: 0 / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of Templates: time 0.002905/0.5241, allocations: 1.009 MB / 1.377 GB, free: 3.797 MB / 0.8698 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