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.001209/0.001209, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001063/0.001063, allocations: 188.1 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9813, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002053/0.9834, allocations: 0.5546 MB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.9837, allocations: 111.6 kB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.9837, allocations: 0 / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.9838, allocations: 7.984 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.9839, allocations: 0 / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.9841, allocations: 35.91 kB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.9842, allocations: 27.92 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.9842, allocations: 4 kB / 1.168 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.9843, allocations: 19.97 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.9844, allocations: 15.98 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.9844, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.9844, allocations: 8 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.9844, allocations: 3.984 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.9845, allocations: 11.94 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.9846, allocations: 27.95 kB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9846, allocations: 0 / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9846, allocations: 0 / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9846, allocations: 0 / 1.168 GB, free: 3.031 MB / 0.8887 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.0004301/0.9851, allocations: 357.3 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9851, allocations: 12.61 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.9852, allocations: 12.94 kB / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.9853, allocations: 164.3 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.9853, allocations: 4.375 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.9853, allocations: 4.375 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.9855, allocations: 50.23 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9855, allocations: 192 / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.9855, allocations: 11.94 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9855, allocations: 0 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.9856, allocations: 11.98 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.9857, allocations: 149.7 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.9858, allocations: 41.03 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.9858, allocations: 12.92 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.9859, allocations: 3.938 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.9859, allocations: 38.55 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.9859, allocations: 0 / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002526/0.9862, allocations: 111.3 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.9862, allocations: 77.11 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.9863, allocations: 101.8 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.9863, allocations: 29.64 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.9864, allocations: 88.08 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.9864, allocations: 256 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.9865, allocations: 33.7 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9866, allocations: 310.8 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.9866, allocations: 11.98 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.9867, allocations: 12 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.9868, allocations: 80.25 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9868, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000133/0.9869, allocations: 99.38 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.987, allocations: 33.8 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.987, allocations: 3.938 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.987, allocations: 0 / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-06/0.987, allocations: 7.938 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.987, allocations: 0 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.9872, allocations: 7.984 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.9872, allocations: 4 kB / 1.17 GB, free: 0.918 MB / 0.8887 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.0001197/0.9873, allocations: 135.5 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.9873, allocations: 4 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.9873, allocations: 15.06 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.9873, allocations: 0 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9874, allocations: 0 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9874, allocations: 3.984 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.9875, allocations: 153.7 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9875, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.9875, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9875, allocations: 4 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.9875, allocations: 3.938 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.9875, allocations: 0 / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9875, allocations: 8 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.9877, allocations: 130.7 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.9877, allocations: 80.91 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.9878, allocations: 11.88 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.9879, allocations: 7.984 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.9879, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.9879, allocations: 8 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.988, allocations: 83.31 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.988, allocations: 0 / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001974/0.9882, allocations: 15.98 kB / 1.171 GB, free: 160 kB / 0.8887 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.0002584/0.9884, allocations: 114.8 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.9886, allocations: 83.48 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9886, allocations: 3.938 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.9887, allocations: 71.39 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.9889, allocations: 4.562 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.9892, allocations: 142.5 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.9895, allocations: 0.6729 MB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.9895, allocations: 7.438 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9895, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of Templates: time 0.002585/0.9921, allocations: 0.887 MB / 1.172 GB, free: 14.09 MB / 0.9044 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=480 -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/jenkins1/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