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.001919/0.001919, allocations: 110 kB / 16.41 MB, free: 6.477 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.0022/0.0022, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 71.88 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.932/0.9335, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00176/0.9353, allocations: 0.5552 MB / 1.089 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.9355, allocations: 108.9 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.9356, allocations: 0.9375 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.9357, allocations: 6.156 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.9357, allocations: 11.88 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.9359, allocations: 30.05 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.936, allocations: 29.02 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.936, allocations: 1.75 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.9361, allocations: 14.09 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.9361, allocations: 22.17 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.9362, allocations: 1.062 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.9362, allocations: 15.22 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.9362, allocations: 5.047 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.9363, allocations: 6.422 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.9364, allocations: 34.05 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9364, allocations: 4 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.043e-06/0.9364, allocations: 1.828 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9364, allocations: 0 / 1.089 GB, free: 5.035 MB / 0.8575 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.0002909/0.9367, allocations: 353 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.9368, allocations: 10.3 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.9368, allocations: 3.281 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.9369, allocations: 166.8 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9369, allocations: 2.969 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.9369, allocations: 5.141 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9371, allocations: 52.36 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.9371, allocations: 192 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.9371, allocations: 6.094 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.9371, allocations: 0.5625 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.9371, allocations: 17.34 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.71e-05/0.9372, allocations: 153.4 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.9373, allocations: 30.83 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.9373, allocations: 15.28 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.9374, allocations: 0.7812 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.9374, allocations: 40.11 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.9374, allocations: 1 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002245/0.9376, allocations: 109.5 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.9377, allocations: 84.72 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.9377, allocations: 97.59 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.9377, allocations: 27.67 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.9377, allocations: 80.89 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.9378, allocations: 6.156 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.9378, allocations: 28.08 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.9379, allocations: 312.2 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.9379, allocations: 17.81 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.938, allocations: 9.984 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.938, allocations: 84.47 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.938, allocations: 3.938 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001229/0.9382, allocations: 98.28 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.9382, allocations: 33.33 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9382, allocations: 3.938 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.9382, allocations: 0.7188 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.9382, allocations: 4.609 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.9382, allocations: 0.6875 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.9384, allocations: 6.844 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.9384, allocations: 3.578 kB / 1.091 GB, free: 3.191 MB / 0.8575 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.372e-05/0.9385, allocations: 143.5 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.9385, allocations: 3.156 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.9385, allocations: 8.922 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.9385, allocations: 0 / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9385, allocations: 0 / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.9385, allocations: 9.656 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.305e-05/0.9386, allocations: 150 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9386, allocations: 0.75 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.9386, allocations: 0.5625 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9386, allocations: 0.6875 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.9386, allocations: 11.06 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9386, allocations: 1.25 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.9386, allocations: 0.75 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.9388, allocations: 125.2 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.9388, allocations: 81.47 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.9388, allocations: 7.203 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.9389, allocations: 5.609 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.939, allocations: 6.844 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.939, allocations: 3.625 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.908e-05/0.939, allocations: 77.89 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.939, allocations: 0.9688 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002016/0.9392, allocations: 15.75 kB / 1.092 GB, free: 2.543 MB / 0.8575 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.0002045/0.9394, allocations: 120.9 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.9396, allocations: 90.16 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9396, allocations: 3.938 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.703e-05/0.9397, allocations: 71.83 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.9398, allocations: 4.344 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.9401, allocations: 136.6 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.9402, allocations: 0.6763 MB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-06/0.9402, allocations: 7.438 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9403, allocations: 0.7188 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of Templates: time 0.002704/0.943, allocations: 0.8831 MB / 1.094 GB, free: 1.363 MB / 0.8575 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