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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001206/0.001206, allocations: 109.8 kB / 16.37 MB, free: 6.262 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.001221/0.001222, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.429/2.429, allocations: 442.6 MB / 0.7166 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.33 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001705/0.2616, allocations: 0.55 MB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.2618, allocations: 118.1 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.2618, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.56e-05/0.2619, allocations: 15.92 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.262, allocations: 3.938 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.2621, allocations: 39.89 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.2622, allocations: 27.92 kB / 1.028 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.2623, allocations: 0 / 1.028 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.2623, allocations: 23.97 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.2623, allocations: 11.98 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2624, allocations: 0 / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.2624, allocations: 8 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-06/0.2624, allocations: 3.938 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.2625, allocations: 15.98 kB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.12e-05/0.2625, allocations: 31.95 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2625, allocations: 0 / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.61e-07/0.2626, allocations: 0 / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2626, allocations: 0 / 1.028 GB, free: 1.168 MB / 0.795 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.0002788/0.2628, allocations: 361.2 kB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2629, allocations: 8.031 kB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.2629, allocations: 4.938 kB / 1.028 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.263, allocations: 160.4 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.263, allocations: 4.375 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2631, allocations: 8.375 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2632, allocations: 54.23 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2632, allocations: 8.109 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2632, allocations: 11.94 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2632, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.2632, allocations: 8 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.2634, allocations: 153.7 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.2634, allocations: 26.56 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.2635, allocations: 24.91 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.2635, allocations: 0 / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2635, allocations: 30.56 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2635, allocations: 4 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002047/0.2637, allocations: 111.2 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.2638, allocations: 81.11 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.219e-05/0.2638, allocations: 93.98 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2638, allocations: 29.7 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.2639, allocations: 84.12 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.2639, allocations: 3.906 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.2639, allocations: 21.72 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.264, allocations: 314.8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.2641, allocations: 11.98 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.2641, allocations: 8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.2642, allocations: 96.31 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2642, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001246/0.2643, allocations: 95.38 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.2644, allocations: 29.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.2644, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2644, allocations: 7.938 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.2644, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2644, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2645, allocations: 7.984 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2646, allocations: 15.97 kB / 1.029 GB, free: 15.06 MB / 0.8106 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.6e-05/0.2646, allocations: 139.5 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.2647, allocations: 4 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.2647, allocations: 7.062 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2647, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2647, allocations: 3.984 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2647, allocations: 81.11 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2647, allocations: 0 / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.2648, allocations: 8 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2649, allocations: 4 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001585/0.265, allocations: 226 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001772/0.2652, allocations: 272.5 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.919e-05/0.2653, allocations: 15.98 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.2653, allocations: 83.34 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of Backend: time 4.41e-07/0.2653, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.2658, allocations: 174.9 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0002825/0.2661, allocations: 0.5755 MB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.002996/0.2691, allocations: 1.114 MB / 1.032 GB, free: 12.22 MB / 0.8106 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