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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001296/0.001296, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001135/0.001135, allocations: 183 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.584/2.584, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9343/0.9358, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001762/0.9376, allocations: 0.5541 MB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.9378, allocations: 111.7 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.9379, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.938, allocations: 3.938 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.938, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.9382, allocations: 43.91 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.703e-05/0.9383, allocations: 31.84 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.9384, allocations: 4 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.9384, allocations: 15.98 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.9385, allocations: 11.98 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.9385, allocations: 4 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.9385, allocations: 4 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.9386, allocations: 7.984 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.9386, allocations: 19.86 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.9387, allocations: 31.95 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9387, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9387, allocations: 4 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9387, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 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.0003335/0.9391, allocations: 353.3 kB / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.9391, allocations: 8.031 kB / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.9391, allocations: 4.938 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.9393, allocations: 164.4 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9393, allocations: 8.359 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.9393, allocations: 4.375 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.9394, allocations: 58.23 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.9394, allocations: 4.125 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.9395, allocations: 3.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9395, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.9395, allocations: 11.98 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.9397, allocations: 157.6 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.9397, allocations: 22.61 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.9398, allocations: 24.91 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.9398, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.9398, allocations: 30.56 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.9398, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002251/0.94, allocations: 111.2 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.9401, allocations: 81.11 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.9402, allocations: 101.8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.9402, allocations: 25.95 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.9402, allocations: 84.14 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.9402, allocations: 8 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.9403, allocations: 21.72 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9404, allocations: 318.8 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.9404, allocations: 8 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.9405, allocations: 15.98 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.9405, allocations: 76.2 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9405, allocations: 4.062 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001212/0.9407, allocations: 95.38 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.9407, allocations: 33.7 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9407, allocations: 3.938 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.9407, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-06/0.9407, allocations: 7.984 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.9407, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.9409, allocations: 8 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.9409, allocations: 7.938 kB / 1.211 GB, free: 10.7 MB / 0.9356 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.523e-05/0.941, allocations: 147.6 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.941, allocations: 4 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.941, allocations: 7.062 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.941, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9411, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.9411, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.874e-05/0.9412, allocations: 153.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9412, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.9412, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9412, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.9412, allocations: 23.8 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.9412, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9412, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.9413, allocations: 126.7 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.9414, allocations: 80.91 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.9414, allocations: 7.938 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.9415, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.9415, allocations: 8.016 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.9416, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.9416, allocations: 79.28 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9416, allocations: 0 / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001905/0.9418, allocations: 16 kB / 1.212 GB, free: 9.941 MB / 0.9356 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.0002125/0.942, allocations: 112.2 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.9422, allocations: 91.31 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9422, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.9422, allocations: 71.39 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.9424, allocations: 4 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.9427, allocations: 138.6 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.9429, allocations: 0.669 MB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.9429, allocations: 11.56 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9429, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of Templates: time 0.002365/0.9453, allocations: 0.8889 MB / 1.214 GB, free: 7.879 MB / 0.9356 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/jenkins1/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