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.00156/0.00156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001903/0.001903, allocations: 188.8 kB / 16.25 MB, free: 6.641 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.444/2.444, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/0.645, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002379/0.6475, allocations: 0.6077 MB / 0.9497 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000281/0.6478, allocations: 109.3 kB / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.6478, allocations: 0 / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.648, allocations: 6.688 kB / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.648, allocations: 0 / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.6483, allocations: 37.47 kB / 0.9498 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.6485, allocations: 27.62 kB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.979e-05/0.6485, allocations: 5.469 kB / 0.9499 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.6486, allocations: 20.45 kB / 0.9499 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.6486, allocations: 4.875 kB / 0.9499 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.6486, allocations: 1.188 kB / 0.9499 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.6487, allocations: 10.64 kB / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.6487, allocations: 5.422 kB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.6488, allocations: 9.125 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.6489, allocations: 33.39 kB / 0.95 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6489, allocations: 1.188 kB / 0.95 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6489, allocations: 0 / 0.95 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6489, allocations: 0 / 0.95 GB, free: 8.566 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.0002874/0.6492, allocations: 360.9 kB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6492, allocations: 9.875 kB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.6493, allocations: 7.406 kB / 0.9503 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.6494, allocations: 165.7 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.6494, allocations: 1.781 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.6494, allocations: 5 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.6495, allocations: 55.48 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6496, allocations: 192 / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.6496, allocations: 9.312 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.6496, allocations: 1.75 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.891e-05/0.6496, allocations: 14.17 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.6497, allocations: 152.6 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.533e-05/0.6498, allocations: 28.23 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.6498, allocations: 21.31 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.6499, allocations: 1.312 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.6499, allocations: 39.91 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6499, allocations: 0 / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002329/0.6501, allocations: 112.7 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.6502, allocations: 88.31 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.6502, allocations: 95.11 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.6503, allocations: 28.48 kB / 0.9511 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.594e-05/0.6503, allocations: 80.14 kB / 0.9512 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.6503, allocations: 1.906 kB / 0.9512 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.6504, allocations: 26.5 kB / 0.9512 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.6504, allocations: 316.8 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.6504, allocations: 6.031 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.6505, allocations: 14.73 kB / 0.9515 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.6505, allocations: 78.7 kB / 0.9516 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6506, allocations: 0 / 0.9516 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001263/0.6507, allocations: 100.5 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6507, allocations: 35.11 kB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6507, allocations: 3.938 kB / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6507, allocations: 5.422 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.6508, allocations: 0 / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.6508, allocations: 0 / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.6509, allocations: 9.375 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.6509, allocations: 2.656 kB / 0.9518 GB, free: 6.656 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 6.193e-05/0.651, allocations: 142.9 kB / 0.9519 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.651, allocations: 8.125 kB / 0.9519 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.651, allocations: 11.06 kB / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.651, allocations: 1.375 kB / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6511, allocations: 0 / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.6511, allocations: 3.938 kB / 0.9519 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.884e-05/0.6511, allocations: 149.8 kB / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6511, allocations: 0 / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.6511, allocations: 0 / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6511, allocations: 5.359 kB / 0.9521 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6512, allocations: 6.688 kB / 0.9521 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6512, allocations: 0 / 0.9521 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6512, allocations: 4 kB / 0.9521 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.6513, allocations: 122.4 kB / 0.9522 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.6513, allocations: 77.11 kB / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.6514, allocations: 10.62 kB / 0.9523 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6515, allocations: 4.125 kB / 0.9523 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.6515, allocations: 9.297 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.6515, allocations: 8.125 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.9e-05/0.6515, allocations: 80.69 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.6515, allocations: 0 / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002032/0.6517, allocations: 12.38 kB / 0.9524 GB, free: 5.98 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.0002111/0.652, allocations: 118.4 kB / 0.9525 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.6521, allocations: 85.48 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6521, allocations: 0 / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.6522, allocations: 70.86 kB / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.6523, allocations: 7.234 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.6526, allocations: 114.6 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.6527, allocations: 0.6744 MB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.83e-05/0.6529, allocations: 8.266 kB / 0.9534 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.6529, allocations: 7.562 kB / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.6529, allocations: 4 kB / 0.9534 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.003485/0.6564, allocations: 1.097 MB / 0.9545 GB, free: 4.328 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