Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001628/0.001628, allocations: 120.1 kB / 16.81 MB, free: 5.758 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.001658/0.001658, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.423/1.423, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 69.14 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3004, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001715/0.3021, allocations: 0.5523 MB / 1.263 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002538/0.3024, allocations: 107.7 kB / 1.263 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.3024, allocations: 0 / 1.263 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.3025, allocations: 11.94 kB / 1.263 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.3025, allocations: 0 / 1.263 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.3027, allocations: 39.89 kB / 1.263 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.742e-05/0.3028, allocations: 23.98 kB / 1.263 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.3028, allocations: 4.328 kB / 1.263 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.3028, allocations: 15.94 kB / 1.263 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.3029, allocations: 15.98 kB / 1.263 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3029, allocations: 0 / 1.263 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.303, allocations: 12 kB / 1.263 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.303, allocations: 3.984 kB / 1.263 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.303, allocations: 15.92 kB / 1.263 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.3031, allocations: 31.89 kB / 1.263 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3031, allocations: 4 kB / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3031, allocations: 0 / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3031, allocations: 0 / 1.263 GB, free: 12.1 MB / 0.9825 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.0003903/0.3035, allocations: 361.1 kB / 1.263 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3035, allocations: 8.625 kB / 1.263 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3036, allocations: 4.938 kB / 1.263 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3037, allocations: 172.4 kB / 1.263 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3037, allocations: 384 / 1.263 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3037, allocations: 4.375 kB / 1.263 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.3039, allocations: 62.17 kB / 1.263 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3039, allocations: 192 / 1.263 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3039, allocations: 3.938 kB / 1.263 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3039, allocations: 0 / 1.263 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.3039, allocations: 11.98 kB / 1.263 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.3041, allocations: 153.7 kB / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.3041, allocations: 30.61 kB / 1.264 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3042, allocations: 20.91 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.3042, allocations: 3.938 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3042, allocations: 30.56 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3042, allocations: 0 / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002407/0.3045, allocations: 115.2 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3045, allocations: 81.09 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.3046, allocations: 93.86 kB / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3046, allocations: 29.95 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.3047, allocations: 88.14 kB / 1.264 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.3047, allocations: 3.953 kB / 1.264 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3047, allocations: 17.72 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3049, allocations: 318.8 kB / 1.264 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.3049, allocations: 8 kB / 1.264 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.3049, allocations: 19.92 kB / 1.264 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.305, allocations: 76.33 kB / 1.265 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.305, allocations: 4 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001432/0.3052, allocations: 95.38 kB / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.3052, allocations: 35.58 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3052, allocations: 0 / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3052, allocations: 7.922 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.3052, allocations: 3.984 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3052, allocations: 4 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3054, allocations: 4 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3054, allocations: 7.938 kB / 1.265 GB, free: 9.992 MB / 0.9825 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.0001069/0.3055, allocations: 144.4 kB / 1.265 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3055, allocations: 4 kB / 1.265 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.3055, allocations: 7.062 kB / 1.265 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.3055, allocations: 3.938 kB / 1.265 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3055, allocations: 0 / 1.265 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.3056, allocations: 77.11 kB / 1.265 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3056, allocations: 4 kB / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3057, allocations: 11.98 kB / 1.265 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3057, allocations: 8 kB / 1.265 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001926/0.3059, allocations: 218.1 kB / 1.265 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000227/0.3061, allocations: 276.4 kB / 1.265 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.89e-05/0.3062, allocations: 12 kB / 1.265 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.3062, allocations: 79.27 kB / 1.265 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of Backend: time 2.7e-07/0.3062, allocations: 4.156 kB / 1.265 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.3067, allocations: 168 kB / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0004082/0.3071, allocations: 0.5794 MB / 1.266 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.003737/0.3109, allocations: 1.132 MB / 1.267 GB, free: 7.129 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches