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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001541/0.001541, allocations: 107.8 kB / 16.41 MB, free: 5.996 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.001762/0.001762, allocations: 191 kB / 17.35 MB, free: 5.605 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 469.4 MB / 0.7428 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.7444, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002024/0.7464, allocations: 0.5506 MB / 1.221 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002487/0.7467, allocations: 107.6 kB / 1.222 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.7467, allocations: 0 / 1.222 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.15e-05/0.7468, allocations: 4 kB / 1.222 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.7469, allocations: 7.938 kB / 1.222 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.747, allocations: 35.95 kB / 1.222 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.7471, allocations: 31.97 kB / 1.222 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.7472, allocations: 0 / 1.222 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.7472, allocations: 11.94 kB / 1.222 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.7473, allocations: 15.98 kB / 1.222 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.7473, allocations: 0 / 1.222 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.7474, allocations: 19.98 kB / 1.222 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.7474, allocations: 0 / 1.222 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.7474, allocations: 11.92 kB / 1.222 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.7475, allocations: 31.95 kB / 1.222 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7475, allocations: 0 / 1.222 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7475, allocations: 0 / 1.222 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7475, allocations: 0 / 1.222 GB, free: 1.496 MB / 0.9356 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.0003998/0.7479, allocations: 357.3 kB / 1.222 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.748, allocations: 8.031 kB / 1.222 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.748, allocations: 4.938 kB / 1.222 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.7482, allocations: 172.3 kB / 1.222 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7482, allocations: 4.375 kB / 1.222 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.7483, allocations: 4.375 kB / 1.222 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.7484, allocations: 54.17 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7484, allocations: 192 / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.7484, allocations: 7.875 kB / 1.222 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7484, allocations: 8 kB / 1.222 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.7485, allocations: 15.92 kB / 1.222 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.7486, allocations: 153.7 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.7487, allocations: 30.61 kB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.7487, allocations: 16.91 kB / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.7487, allocations: 0 / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.7488, allocations: 34.56 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.7488, allocations: 0 / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002353/0.749, allocations: 111.2 kB / 1.223 GB, free: 360 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.7491, allocations: 81.23 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.7492, allocations: 101.8 kB / 1.223 GB, free: 148 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.7492, allocations: 25.7 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.7492, allocations: 80.14 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.7493, allocations: 4 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.7493, allocations: 25.72 kB / 1.223 GB, free: 16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7494, allocations: 314.8 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.7495, allocations: 12.12 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.7495, allocations: 15.98 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.7496, allocations: 76.27 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7496, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001818/0.7498, allocations: 99.31 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.7498, allocations: 33.7 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.7498, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7499, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-06/0.7499, allocations: 3.984 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.7499, allocations: 4.094 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.75, allocations: 8 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.7501, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 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.0001441/0.7502, allocations: 148.1 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.7502, allocations: 7.906 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.7502, allocations: 7.062 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7503, allocations: 0 / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7503, allocations: 0 / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.7503, allocations: 85.05 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7503, allocations: 4 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7504, allocations: 7.984 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.7505, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000221/0.7507, allocations: 230 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002051/0.7509, allocations: 268.5 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.05e-05/0.7509, allocations: 16.06 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.751, allocations: 83.27 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/0.751, allocations: 3.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005223/0.7515, allocations: 174.7 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0003868/0.7519, allocations: 0.5934 MB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.003445/0.7554, allocations: 1.115 MB / 1.226 GB, free: 12.53 MB / 0.9512 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