Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001557/0.001557, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.444/1.444, 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 12.0.0-master/package.mo): time 2.661/2.661, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.89 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 159.9 MB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.08319/1.164, allocations: 70.25 MB / 1.295 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0284/1.193, allocations: 17.73 MB / 1.312 GB, free: 5.371 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/1.196, allocations: 67.62 kB / 1.312 GB, free: 5.305 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004762/1.201, allocations: 1.231 MB / 1.314 GB, free: 4.066 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008266/1.209, allocations: 2.471 MB / 1.316 GB, free: 1.586 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/1.221, allocations: 2.938 MB / 1.319 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.06568/1.287, allocations: 38.49 MB / 1.356 GB, free: 8.086 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02984/1.317, allocations: 17.22 MB / 1.373 GB, free: 6.738 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02846/1.345, allocations: 12.58 MB / 1.386 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02287/1.368, allocations: 11.13 MB / 1.396 GB, free: 15 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.006793/1.375, allocations: 1.941 MB / 1.398 GB, free: 13.06 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01939/1.394, allocations: 4.551 MB / 1.403 GB, free: 8.508 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0102/1.405, allocations: 4.44 MB / 1.407 GB, free: 4.055 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.03115/1.436, allocations: 9.439 MB / 1.416 GB, free: 10.58 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.05938/1.495, allocations: 33.52 MB / 1.449 GB, free: 8.957 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/1.495, allocations: 0 / 1.449 GB, free: 8.957 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.305e-06/1.495, allocations: 0 / 1.449 GB, free: 8.957 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.001069/1.496, allocations: 0 / 1.449 GB, free: 8.957 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.06237/1.559, allocations: 17.32 MB / 1.466 GB, free: 7.488 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.559, allocations: 11.97 kB / 1.466 GB, free: 7.477 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/1.57, allocations: 1.706 MB / 1.468 GB, free: 5.762 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04583/1.616, allocations: 16.35 MB / 1.484 GB, free: 5.34 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.617, allocations: 0.6375 MB / 1.484 GB, free: 4.699 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004943/1.622, allocations: 0.8709 MB / 1.485 GB, free: 3.828 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03943/1.662, allocations: 12.86 MB / 1.498 GB, free: 6.668 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006276/1.662, allocations: 27.83 kB / 1.498 GB, free: 6.641 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003817/1.666, allocations: 356 kB / 1.498 GB, free: 6.293 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/1.666, allocations: 204 kB / 1.498 GB, free: 6.094 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/1.698, allocations: 11.18 MB / 1.509 GB, free: 10.89 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.816, allocations: 53.43 MB / 1.561 GB, free: 3.355 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 1.533/3.349, allocations: 5.927 MB / 1.567 GB, free: 291.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007702/3.356, allocations: 3.953 MB / 1.571 GB, free: 290.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/3.358, allocations: 2.187 MB / 1.573 GB, free: 288 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.979e-05/3.359, allocations: 97.58 kB / 1.573 GB, free: 287.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=484): time 8.236e-06/3.359, allocations: 0 / 1.573 GB, free: 287.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=484): time 0.0278/3.386, allocations: 12.69 MB / 1.586 GB, free: 282.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/3.387, allocations: 361 kB / 1.586 GB, free: 282.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03062/3.417, allocations: 15.96 MB / 1.601 GB, free: 277.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00149/3.419, allocations: 132.2 kB / 1.602 GB, free: 277.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007208/3.426, allocations: 5.972 MB / 1.607 GB, free: 273.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002808/3.429, allocations: 1.808 MB / 1.609 GB, free: 272.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002824/3.432, allocations: 1.518 MB / 1.611 GB, free: 271.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/3.432, allocations: 302.2 kB / 1.611 GB, free: 271.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005363/3.437, allocations: 3.823 MB / 1.615 GB, free: 270.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007567/3.445, allocations: 5.882 MB / 1.62 GB, free: 265.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/3.459, allocations: 9.027 MB / 1.629 GB, free: 256 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-05/3.459, allocations: 14.88 kB / 1.629 GB, free: 256 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02387/3.483, allocations: 11.69 MB / 1.641 GB, free: 244.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/3.483, allocations: 20 kB / 1.641 GB, free: 244.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/3.483, allocations: 64 kB / 1.641 GB, free: 244.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/3.485, allocations: 1.025 MB / 1.642 GB, free: 243 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005816/3.491, allocations: 1.57 MB / 1.643 GB, free: 241.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/3.51, allocations: 36.65 MB / 1.679 GB, free: 202.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/3.522, allocations: 1.108 MB / 1.68 GB, free: 201.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/3.524, allocations: 300 kB / 1.68 GB, free: 200.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01657/3.54, allocations: 8.836 MB / 1.689 GB, free: 192.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008305/3.548, allocations: 5.884 MB / 1.695 GB, free: 185.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01294/3.561, allocations: 9.013 MB / 1.704 GB, free: 175.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.344e-05/3.562, allocations: 12 kB / 1.704 GB, free: 175.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02345/3.585, allocations: 11.69 MB / 1.715 GB, free: 164 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/3.585, allocations: 27.98 kB / 1.715 GB, free: 164 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/3.585, allocations: 64.91 kB / 1.715 GB, free: 163.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/3.587, allocations: 1.024 MB / 1.716 GB, free: 162.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/3.593, allocations: 1.572 MB / 1.718 GB, free: 161.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/3.612, allocations: 36.64 MB / 1.753 GB, free: 121.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01203/3.624, allocations: 1.039 MB / 1.754 GB, free: 120.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/3.625, allocations: 302.5 kB / 1.755 GB, free: 120.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (837): * Single equations (assignments): 807 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001925/3.627, allocations: 0.5784 MB / 1.755 GB, free: 120.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004541/3.632, allocations: 1.219 MB / 1.757 GB, free: 118.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/3.648, allocations: 8.61 MB / 1.765 GB, free: 110.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009389/3.657, allocations: 6.564 MB / 1.771 GB, free: 103.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/3.657, allocations: 0 / 1.771 GB, free: 103.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00932/3.666, allocations: 2.696 MB / 1.774 GB, free: 100.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005163/3.672, allocations: 124 kB / 1.774 GB, free: 100.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0092/3.681, allocations: 319.8 kB / 1.774 GB, free: 100.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/3.682, allocations: 327.3 kB / 1.775 GB, free: 100.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01653/3.699, allocations: 8.76 MB / 1.783 GB, free: 91.43 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0166/3.715, allocations: 11.88 MB / 1.795 GB, free: 79.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003733/3.719, allocations: 3.251 MB / 1.798 GB, free: 76.24 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.02226/3.742, allocations: 11.31 MB / 1.809 GB, free: 64.99 MB / 1.279 GB Notification: Performance of Backend: time 2.083e-06/3.742, allocations: 0.9844 kB / 1.809 GB, free: 64.99 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03739/3.779, allocations: 17.44 MB / 1.826 GB, free: 47.14 MB / 1.279 GB Notification: Performance of SimCode: time 0.07295/3.852, allocations: 34.16 MB / 1.859 GB, free: 13.18 MB / 1.279 GB Notification: Performance of Templates: time 0.4726/4.325, allocations: 289.2 MB / 2.142 GB, free: 13.43 MB / 1.561 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches