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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001586/0.001586, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.88 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6027/0.6039, allocations: 140.4 MB / 0.9489 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00171/0.6057, allocations: 0.6112 MB / 0.9495 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.6059, allocations: 116.6 kB / 0.9496 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.228e-05/0.6059, allocations: 0 / 0.9496 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.606, allocations: 5.375 kB / 0.9496 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.6061, allocations: 1.375 kB / 0.9496 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.6062, allocations: 41.64 kB / 0.9497 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.385e-05/0.6063, allocations: 24.34 kB / 0.9497 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.6063, allocations: 1.375 kB / 0.9497 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.6063, allocations: 12.19 kB / 0.9497 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.6064, allocations: 13.48 kB / 0.9497 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.6064, allocations: 6.75 kB / 0.9497 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.811e-05/0.6065, allocations: 5.5 kB / 0.9497 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.6065, allocations: 3.984 kB / 0.9497 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.6065, allocations: 17.42 kB / 0.9498 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.6066, allocations: 26.97 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6066, allocations: 0 / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.093e-06/0.6066, allocations: 0 / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.6066, allocations: 3.938 kB / 0.9498 GB, free: 8.453 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.0002371/0.6069, allocations: 357.6 kB / 0.9501 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6069, allocations: 8.219 kB / 0.9501 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.6069, allocations: 12.59 kB / 0.9502 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.421e-05/0.607, allocations: 165.6 kB / 0.9503 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.607, allocations: 1.781 kB / 0.9503 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.6071, allocations: 4.469 kB / 0.9503 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.6072, allocations: 55.66 kB / 0.9504 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.6072, allocations: 192 / 0.9504 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6072, allocations: 6.406 kB / 0.9504 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6072, allocations: 0 / 0.9504 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.6073, allocations: 14.97 kB / 0.9504 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.241e-05/0.6074, allocations: 157.3 kB / 0.9505 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.6074, allocations: 31.41 kB / 0.9506 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.6075, allocations: 18.09 kB / 0.9506 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-06/0.6075, allocations: 0 / 0.9506 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.6075, allocations: 31.69 kB / 0.9506 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.6075, allocations: 1.219 kB / 0.9506 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002139/0.6077, allocations: 116.3 kB / 0.9507 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.6077, allocations: 79.39 kB / 0.9508 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.6078, allocations: 92.11 kB / 0.9509 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.6078, allocations: 27.98 kB / 0.9509 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.6078, allocations: 89.31 kB / 0.951 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.6079, allocations: 1.344 kB / 0.951 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.6079, allocations: 18.56 kB / 0.951 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.6079, allocations: 319.1 kB / 0.9513 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.608, allocations: 11.92 kB / 0.9513 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.608, allocations: 15.19 kB / 0.9514 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/0.6081, allocations: 78.28 kB / 0.9514 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6081, allocations: 0 / 0.9514 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.6082, allocations: 99.25 kB / 0.9515 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6082, allocations: 36.3 kB / 0.9516 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6083, allocations: 3.938 kB / 0.9516 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6083, allocations: 1.562 kB / 0.9516 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.6083, allocations: 4 kB / 0.9516 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6083, allocations: 0 / 0.9516 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.6084, allocations: 13.2 kB / 0.9516 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.6084, allocations: 2.219 kB / 0.9516 GB, free: 6.547 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 5.376e-05/0.6085, allocations: 140.2 kB / 0.9517 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.6085, allocations: 3.062 kB / 0.9517 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-06/0.6085, allocations: 7.062 kB / 0.9517 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.6085, allocations: 5.516 kB / 0.9517 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6086, allocations: 7.938 kB / 0.9517 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.6086, allocations: 0 / 0.9517 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.73e-05/0.6086, allocations: 153.6 kB / 0.9519 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6086, allocations: 0 / 0.9519 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.6086, allocations: 0 / 0.9519 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.6086, allocations: 5.188 kB / 0.9519 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6086, allocations: 6.719 kB / 0.9519 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.6086, allocations: 0 / 0.9519 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6087, allocations: 1.594 kB / 0.9519 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.6088, allocations: 128.3 kB / 0.952 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.6088, allocations: 77.73 kB / 0.9521 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6088, allocations: 10.48 kB / 0.9521 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.6089, allocations: 8.859 kB / 0.9521 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.609, allocations: 0.9375 kB / 0.9521 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.609, allocations: 8.375 kB / 0.9521 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.798e-05/0.609, allocations: 80.58 kB / 0.9522 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.609, allocations: 4.125 kB / 0.9522 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001977/0.6092, allocations: 12.5 kB / 0.9522 GB, free: 5.867 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.0001769/0.6094, allocations: 104.6 kB / 0.9523 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.6095, allocations: 87.88 kB / 0.9524 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6095, allocations: 0 / 0.9524 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.6096, allocations: 72.31 kB / 0.9525 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.6097, allocations: 12.48 kB / 0.9525 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.61, allocations: 106.7 kB / 0.9526 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.129e-05/0.6101, allocations: 0.6713 MB / 0.9532 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.877e-05/0.6101, allocations: 7.828 kB / 0.9532 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-06/0.6101, allocations: 7.438 kB / 0.9532 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6101, allocations: 0 / 0.9532 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.002859/0.613, allocations: 1.062 MB / 0.9543 GB, free: 4.238 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/jenkins/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