Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001467/0.001467, allocations: 195.6 kB / 16.14 MB, free: 6.676 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5723, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0018/0.5741, allocations: 0.6167 MB / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.5744, allocations: 115.6 kB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.205e-05/0.5744, allocations: 3.938 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.968e-05/0.5745, allocations: 8 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.5746, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.5747, allocations: 31.97 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.5748, allocations: 27.97 kB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.5748, allocations: 0 / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.5749, allocations: 15.98 kB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.5749, allocations: 15.92 kB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.5749, allocations: 4 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.575, allocations: 8 kB / 1.017 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.575, allocations: 7.984 kB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.575, allocations: 11.94 kB / 1.017 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.763e-05/0.5751, allocations: 23.95 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5751, allocations: 8 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5751, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.5752, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.7637 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.000365/0.5755, allocations: 357.2 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.5756, allocations: 8.031 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.5756, allocations: 4.938 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.5757, allocations: 164.4 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5758, allocations: 384 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.5758, allocations: 4.375 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.5759, allocations: 58.23 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5759, allocations: 4.125 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5759, allocations: 3.938 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5759, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.576, allocations: 19.92 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.5761, allocations: 149.7 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.5762, allocations: 30.59 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.5763, allocations: 20.92 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.5763, allocations: 4 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.5763, allocations: 30.56 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5763, allocations: 0 / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002442/0.5766, allocations: 111.2 kB / 1.018 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.5766, allocations: 85.11 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.5767, allocations: 93.98 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.5768, allocations: 29.83 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.5768, allocations: 80.14 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.5768, allocations: 7.906 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.5769, allocations: 29.64 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.577, allocations: 310.8 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.577, allocations: 12 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.5771, allocations: 11.98 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.5772, allocations: 84.31 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5772, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001478/0.5774, allocations: 95.33 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.5774, allocations: 38.78 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5774, allocations: 3.938 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5774, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.5774, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.5774, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.5776, allocations: 4 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.5776, allocations: 8 kB / 1.019 GB, free: 15.8 MB / 0.7794 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 0.0001014/0.5777, allocations: 149.5 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.5777, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.5777, allocations: 15.06 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.5778, allocations: 0 / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5778, allocations: 0 / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5778, allocations: 0 / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.5779, allocations: 165.6 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5779, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5779, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.5779, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5779, allocations: 7.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5779, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5779, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.5781, allocations: 126.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.5782, allocations: 77.11 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.5782, allocations: 7.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5783, allocations: 12.02 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.5783, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.5783, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.5784, allocations: 75.28 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5784, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000198/0.5786, allocations: 12 kB / 1.02 GB, free: 15.05 MB / 0.7794 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.0002018/0.5788, allocations: 119.4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.579, allocations: 83.39 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.579, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.5791, allocations: 71.39 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.5792, allocations: 7.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.5795, allocations: 114.6 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.5798, allocations: 0.6772 MB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.966e-05/0.5799, allocations: 3.984 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.5799, allocations: 11.44 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5799, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.003515/0.5834, allocations: 1.053 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches