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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.5 MB / 398 MB, free: 10.98 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.001286/0.001286, allocations: 181.8 kB / 491.2 MB, free: 1.582 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.486/1.486, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0008448/0.0008447, allocations: 83.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.04e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.307, allocations: 149.5 MB / 1.358 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/1.307, allocations: 81.48 kB / 1.358 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009607/1.317, allocations: 3.836 MB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.317, allocations: 0 / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.305e-06/1.317, allocations: 0 / 1.362 GB, free: 33.04 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.0002725/1.317, allocations: 352 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.317, allocations: 7.812 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/1.317, allocations: 3.875 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/1.317, allocations: 168.3 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.317, allocations: 7.844 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.317, allocations: 7.828 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.794e-05/1.317, allocations: 9.234 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.385e-05/1.317, allocations: 47.7 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.318, allocations: 1.594 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.318, allocations: 3.781 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.318, allocations: 0 / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/1.318, allocations: 133.3 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/1.318, allocations: 35.88 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/1.318, allocations: 8.828 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/1.318, allocations: 3.719 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/1.318, allocations: 33.75 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.318, allocations: 0 / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000181/1.318, allocations: 53.48 kB / 1.363 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/1.318, allocations: 81.02 kB / 1.363 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/1.318, allocations: 94.02 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/1.318, allocations: 29.67 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/1.318, allocations: 80.14 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/1.318, allocations: 9.969 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/1.318, allocations: 3.875 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/1.318, allocations: 310.8 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/1.318, allocations: 12.91 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/1.318, allocations: 7.906 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/1.318, allocations: 13.86 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.318, allocations: 0 / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001304/1.318, allocations: 61.16 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.319, allocations: 29.58 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.319, allocations: 1.547 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.319, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/1.319, allocations: 3.938 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/1.319, allocations: 3.812 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.319, allocations: 5.75 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/1.319, allocations: 7.656 kB / 1.364 GB, free: 31.45 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.5e-05/1.319, allocations: 136.1 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/1.319, allocations: 8.969 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.238e-05/1.319, allocations: 3.75 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.319, allocations: 0 / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.319, allocations: 0 / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.319, allocations: 1.781 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.381e-05/1.319, allocations: 133 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.319, allocations: 1.781 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/1.319, allocations: 3.938 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.319, allocations: 7.875 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.319, allocations: 7.766 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.319, allocations: 7.781 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.319, allocations: 4 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/1.319, allocations: 79.45 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/1.319, allocations: 78.56 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/1.319, allocations: 5.516 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/1.319, allocations: 13.41 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/1.319, allocations: 0 / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.319, allocations: 7.312 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.508e-05/1.319, allocations: 76.64 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.319, allocations: 0 / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002029/1.32, allocations: 15.41 kB / 1.364 GB, free: 30.89 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.0002169/1.32, allocations: 119.1 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.73e-05/1.32, allocations: 76.17 kB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.32, allocations: 0 / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/1.32, allocations: 69.84 kB / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.887e-05/1.32, allocations: 8.391 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/1.32, allocations: 176.6 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/1.321, allocations: 0.6707 MB / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.479e-05/1.321, allocations: 6.234 kB / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-06/1.321, allocations: 7.438 kB / 1.365 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of SimCode: time 1.744e-06/1.321, allocations: 0 / 1.365 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.002774/1.324, allocations: 0.9926 MB / 1.366 GB, free: 29.75 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches