Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00102/0.00102, 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.001493/0.001493, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 10.75 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001237/0.3554, allocations: 290.8 kB / 1.06 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003757/0.3558, allocations: 119.7 kB / 1.06 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.3558, allocations: 0 / 1.06 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.356, allocations: 7.938 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.3561, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.3562, allocations: 35.97 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.3563, allocations: 19.98 kB / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.014e-05/0.3564, allocations: 0 / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.3564, allocations: 11.98 kB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.3565, allocations: 15.98 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3565, allocations: 0 / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.3566, allocations: 12 kB / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.3566, allocations: 0 / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.3567, allocations: 45.61 kB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.3568, allocations: 11.98 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3568, allocations: 0 / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.185e-06/0.3568, allocations: 4 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3568, allocations: 0 / 1.06 GB, free: 4.406 MB / 0.8106 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.0004123/0.3572, allocations: 353.2 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3573, allocations: 12.03 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.3573, allocations: 0.9375 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3575, allocations: 168.4 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3575, allocations: 384 / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3576, allocations: 4.375 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3577, allocations: 54.23 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3577, allocations: 4.188 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3577, allocations: 3.938 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3578, allocations: 0 / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.3578, allocations: 15.98 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.358, allocations: 153.7 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.358, allocations: 26.55 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.3581, allocations: 20.91 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3581, allocations: 4 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3582, allocations: 38.5 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 3.627e-06/0.3582, allocations: 3.984 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002718/0.3584, allocations: 107.3 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3585, allocations: 89.03 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.3586, allocations: 93.8 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3586, allocations: 29.95 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.3587, allocations: 84.14 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3587, allocations: 7.906 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.3588, allocations: 9.719 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3589, allocations: 314.8 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.3589, allocations: 11.98 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.359, allocations: 15.98 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.359, allocations: 72.27 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.359, allocations: 8.062 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.3592, allocations: 99.31 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.3592, allocations: 33.7 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3593, allocations: 3.938 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3593, allocations: 0 / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.3593, allocations: 0 / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3593, allocations: 0 / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3595, allocations: 11.98 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3595, allocations: 4 kB / 1.062 GB, free: 2.316 MB / 0.8106 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.0001139/0.3596, allocations: 143.9 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.3596, allocations: 4 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.3596, allocations: 11.05 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3596, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3596, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3597, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.3598, allocations: 153.7 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3598, allocations: 0 / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.3598, allocations: 0 / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3598, allocations: 0 / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3598, allocations: 11.94 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3598, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3598, allocations: 3.984 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.36, allocations: 122.8 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3601, allocations: 88.97 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3601, allocations: 7.938 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3602, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3602, allocations: 4.031 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3602, allocations: 11.98 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.3603, allocations: 79.28 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3603, allocations: 0 / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002103/0.3605, allocations: 12 kB / 1.062 GB, free: 1.566 MB / 0.8106 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.0002931/0.3608, allocations: 116.2 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.361, allocations: 87.38 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.361, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.361, allocations: 71.39 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3612, allocations: 4 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.3616, allocations: 136.3 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3618, allocations: 0.677 MB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.3618, allocations: 11.56 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3619, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of Templates: time 0.002705/0.3646, allocations: 0.8742 MB / 1.064 GB, free: 15.51 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches