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.001629/0.001629, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001657/0.001657, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.08 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.173/2.173, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002096, allocations: 67.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9329, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001909/0.9348, allocations: 0.5546 MB / 1.089 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.9351, allocations: 109 kB / 1.089 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.9351, allocations: 1.031 kB / 1.089 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.9353, allocations: 6.828 kB / 1.089 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.9353, allocations: 0 / 1.089 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.9355, allocations: 41.95 kB / 1.089 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.9356, allocations: 27.92 kB / 1.089 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.9357, allocations: 1.859 kB / 1.089 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.9357, allocations: 15.11 kB / 1.089 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.9358, allocations: 17.03 kB / 1.089 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.9358, allocations: 2.156 kB / 1.089 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.9358, allocations: 7.469 kB / 1.089 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.9359, allocations: 11.98 kB / 1.089 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.9359, allocations: 7 kB / 1.089 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.936, allocations: 34.09 kB / 1.089 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.936, allocations: 0.7812 kB / 1.089 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.936, allocations: 0 / 1.089 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.936, allocations: 0 / 1.089 GB, free: 5.301 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.0003077/0.9364, allocations: 359.1 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9364, allocations: 8.844 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.9365, allocations: 3.375 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.9365, allocations: 167.1 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.9366, allocations: 2.5 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.9366, allocations: 4.906 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.9367, allocations: 56.81 kB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.9367, allocations: 192 / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.9367, allocations: 6.188 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.9367, allocations: 0.5156 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.9368, allocations: 17.58 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.9369, allocations: 153.7 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.937, allocations: 33.53 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.937, allocations: 19.88 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.937, allocations: 5.172 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.9371, allocations: 32.05 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.9371, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002364/0.9373, allocations: 110.2 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.9373, allocations: 84.47 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.9374, allocations: 98.41 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.9374, allocations: 27.61 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/0.9375, allocations: 80.14 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.9375, allocations: 6.562 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.9375, allocations: 27.89 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.9376, allocations: 312.5 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.9376, allocations: 13.69 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.9377, allocations: 17.53 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.9377, allocations: 80.66 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9377, allocations: 0 / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001215/0.9379, allocations: 97.81 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.9379, allocations: 33.88 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9379, allocations: 4.641 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.9379, allocations: 0 / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.9379, allocations: 1.312 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.9379, allocations: 0.6562 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.9381, allocations: 9.578 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.9381, allocations: 4.984 kB / 1.091 GB, free: 3.449 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 7.007e-05/0.9382, allocations: 142.6 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.9382, allocations: 7.75 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.9382, allocations: 7.766 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.9382, allocations: 1.344 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9382, allocations: 0 / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9382, allocations: 1.078 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.038e-05/0.9383, allocations: 153.9 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9383, allocations: 0.75 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.9383, allocations: 1.125 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.9383, allocations: 0 / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.9383, allocations: 7.672 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.9383, allocations: 4.859 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9384, allocations: 0.6562 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.9385, allocations: 121.1 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.9385, allocations: 84.62 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.9386, allocations: 10.25 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.9387, allocations: 6.484 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.9387, allocations: 2.953 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.9387, allocations: 11.61 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.9387, allocations: 81.02 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9387, allocations: 0 / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001942/0.9389, allocations: 13.34 kB / 1.092 GB, free: 2.793 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.0002132/0.9391, allocations: 113.3 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.9393, allocations: 81.73 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.9393, allocations: 0.8438 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.9394, allocations: 75.47 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.9395, allocations: 6.156 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.9398, allocations: 139.4 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.9399, allocations: 0.6723 MB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.9399, allocations: 8.234 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.94, allocations: 1.156 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.002772/0.9427, allocations: 0.8854 MB / 1.094 GB, free: 1.625 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