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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.000836, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 173 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 19.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7512, allocations: 142.4 MB / 0.9557 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007961/0.7521, allocations: 284.9 kB / 0.956 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.7524, allocations: 112 kB / 0.9561 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.7524, allocations: 0 / 0.9561 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.896e-05/0.7525, allocations: 2.344 kB / 0.9561 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.7525, allocations: 0 / 0.9561 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.7527, allocations: 37.66 kB / 0.9561 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.7527, allocations: 25.47 kB / 0.9562 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.7528, allocations: 1.625 kB / 0.9562 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.7528, allocations: 15.64 kB / 0.9562 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.7529, allocations: 9.094 kB / 0.9562 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.7529, allocations: 1.344 kB / 0.9562 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-05/0.7529, allocations: 14.42 kB / 0.9562 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.753, allocations: 5.016 kB / 0.9562 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.753, allocations: 34.67 kB / 0.9562 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.526e-05/0.7531, allocations: 25.75 kB / 0.9563 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7531, allocations: 1.094 kB / 0.9563 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7531, allocations: 4 kB / 0.9563 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7531, allocations: 0 / 0.9563 GB, free: 7.629 MB / 0.7169 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.0002534/0.7534, allocations: 334.4 kB / 0.9566 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7534, allocations: 10.06 kB / 0.9566 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.7535, allocations: 7.906 kB / 0.9566 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.7535, allocations: 165.5 kB / 0.9568 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.7536, allocations: 2.406 kB / 0.9568 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.7536, allocations: 3.719 kB / 0.9568 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7537, allocations: 59.48 kB / 0.9568 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7537, allocations: 192 / 0.9568 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.7537, allocations: 6 kB / 0.9568 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7538, allocations: 5 kB / 0.9568 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.7538, allocations: 14.64 kB / 0.9569 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.7539, allocations: 156.9 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.754, allocations: 27.69 kB / 0.957 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.754, allocations: 17.73 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.754, allocations: 5.219 kB / 0.9571 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.754, allocations: 31.78 kB / 0.9571 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.754, allocations: 3.984 kB / 0.9571 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002223/0.7543, allocations: 116.5 kB / 0.9572 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.7543, allocations: 79.14 kB / 0.9573 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.7544, allocations: 93.17 kB / 0.9574 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.7544, allocations: 28.14 kB / 0.9574 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.7544, allocations: 84.14 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.7545, allocations: 6.219 kB / 0.9575 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.7545, allocations: 11.88 kB / 0.9575 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.7545, allocations: 316 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.7546, allocations: 6.562 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.7546, allocations: 15.17 kB / 0.9578 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.434e-05/0.7547, allocations: 78.67 kB / 0.9579 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7547, allocations: 4.062 kB / 0.9579 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001183/0.7548, allocations: 103.3 kB / 0.958 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.7548, allocations: 32.8 kB / 0.958 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7549, allocations: 3.938 kB / 0.958 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7549, allocations: 0 / 0.958 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.7549, allocations: 5.203 kB / 0.958 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.7549, allocations: 0 / 0.958 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.755, allocations: 8.656 kB / 0.958 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.755, allocations: 2.938 kB / 0.958 GB, free: 5.738 MB / 0.7169 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 7.038e-05/0.7551, allocations: 147.2 kB / 0.9582 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.7551, allocations: 3.5 kB / 0.9582 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.7552, allocations: 12.16 kB / 0.9582 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7552, allocations: 0 / 0.9582 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7552, allocations: 0 / 0.9582 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.7552, allocations: 1.188 kB / 0.9582 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.383e-05/0.7552, allocations: 148.8 kB / 0.9583 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7553, allocations: 0 / 0.9583 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.7553, allocations: 1.188 kB / 0.9583 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.7553, allocations: 0 / 0.9583 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7553, allocations: 15.58 kB / 0.9583 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7553, allocations: 0 / 0.9583 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7553, allocations: 4 kB / 0.9584 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.7554, allocations: 126.2 kB / 0.9585 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.7555, allocations: 81.05 kB / 0.9586 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.7555, allocations: 6.531 kB / 0.9586 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7556, allocations: 8.203 kB / 0.9586 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.7556, allocations: 6.781 kB / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.7556, allocations: 6.562 kB / 0.9586 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.944e-05/0.7557, allocations: 76.66 kB / 0.9587 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7557, allocations: 1.375 kB / 0.9587 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001978/0.7559, allocations: 15.06 kB / 0.9587 GB, free: 5.059 MB / 0.7169 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.0002137/0.7561, allocations: 115.5 kB / 0.9588 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.7562, allocations: 84.23 kB / 0.9589 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7562, allocations: 0 / 0.9589 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.7563, allocations: 76.77 kB / 0.9589 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.7564, allocations: 5.766 kB / 0.9589 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.7567, allocations: 133.7 kB / 0.9591 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7569, allocations: 0.6742 MB / 0.9597 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.017e-05/0.7569, allocations: 8.656 kB / 0.9597 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7569, allocations: 0 / 0.9597 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of Templates: time 0.002318/0.7592, allocations: 0.8816 MB / 0.9606 GB, free: 3.52 MB / 0.7169 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches