Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001378/0.001378, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.001387/0.001387, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7029, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00157/0.7045, allocations: 0.5468 MB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.7048, allocations: 115.7 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.7048, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.359e-05/0.7049, allocations: 3.984 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.563e-05/0.7049, allocations: 3.938 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.7051, allocations: 51.83 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.12e-05/0.7052, allocations: 23.98 kB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.7052, allocations: 4 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.575e-05/0.7053, allocations: 11.98 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.7053, allocations: 11.98 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.7054, allocations: 4 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.7054, allocations: 11.94 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.7054, allocations: 4 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.7055, allocations: 19.91 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.7056, allocations: 27.95 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.7056, allocations: 4 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7056, allocations: 0 / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7056, allocations: 0 / 1.168 GB, free: 2.992 MB / 0.8887 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.0003086/0.7059, allocations: 353.3 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.7059, allocations: 8.031 kB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.706, allocations: 4.938 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.7061, allocations: 168.3 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7061, allocations: 4.375 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.7061, allocations: 8.359 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.7062, allocations: 54.23 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.7063, allocations: 192 / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7063, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7063, allocations: 3.938 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.7063, allocations: 15.98 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.7065, allocations: 149.7 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.7065, allocations: 37.05 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.7066, allocations: 16.91 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.7066, allocations: 0 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.7066, allocations: 38.56 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.7066, allocations: 0 / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002145/0.7068, allocations: 103.3 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.7069, allocations: 85.09 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.707, allocations: 101.9 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.707, allocations: 33.64 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.707, allocations: 80.14 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.707, allocations: 4 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.7071, allocations: 25.72 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7072, allocations: 314.8 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.7072, allocations: 12 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.7073, allocations: 7.984 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.7074, allocations: 84.45 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7074, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.7075, allocations: 95.38 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.7075, allocations: 33.7 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7075, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7076, allocations: 7.922 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.043e-06/0.7076, allocations: 3.938 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7076, allocations: 3.938 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.7077, allocations: 8.031 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.7077, allocations: 4 kB / 1.17 GB, free: 0.8906 MB / 0.8887 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 8.316e-05/0.7078, allocations: 146.6 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.7078, allocations: 4 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/0.7079, allocations: 7.062 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.7079, allocations: 4 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7079, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.7079, allocations: 77.11 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.7079, allocations: 0 / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.708, allocations: 15.98 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.7081, allocations: 3.938 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001628/0.7082, allocations: 226.1 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001843/0.7084, allocations: 272.3 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.942e-05/0.7085, allocations: 16 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.7085, allocations: 83.33 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of Backend: time 2.2e-07/0.7085, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.709, allocations: 176.1 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003196/0.7093, allocations: 0.5872 MB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.00329/0.7127, allocations: 1.112 MB / 1.173 GB, free: 14.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches