Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001857/0.001858, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001325, allocations: 70.56 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3323, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003137/0.3354, allocations: 1.498 MB / 0.9513 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.34, allocations: 2.845 MB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.3401, allocations: 0 / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.3402, allocations: 3.938 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.3403, allocations: 19.86 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.3447, allocations: 1.42 MB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.3448, allocations: 39.69 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.3448, allocations: 11.92 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.3449, allocations: 23.91 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.3449, allocations: 11.94 kB / 0.9556 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3449, allocations: 4 kB / 0.9556 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.3473, allocations: 1.42 MB / 0.957 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3474, allocations: 11.92 kB / 0.957 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.3474, allocations: 15.88 kB / 0.957 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.3487, allocations: 0.737 MB / 0.9577 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3488, allocations: 0 / 0.9577 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3488, allocations: 0 / 0.9577 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3488, allocations: 0 / 0.9577 GB, free: 1.109 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008502/0.3496, allocations: 0.5147 MB / 0.9582 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3497, allocations: 8.031 kB / 0.9582 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.3497, allocations: 88.12 kB / 0.9583 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3499, allocations: 253.8 kB / 0.9585 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/0.35, allocations: 154.9 kB / 0.9587 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.3501, allocations: 154.9 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.3502, allocations: 105.1 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.3502, allocations: 79.28 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.3502, allocations: 150.6 kB / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.3503, allocations: 154.6 kB / 0.9593 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.3504, allocations: 150.6 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.3507, allocations: 469.9 kB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.3508, allocations: 173.1 kB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.3508, allocations: 80.14 kB / 0.9601 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3509, allocations: 75.28 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.3509, allocations: 109.8 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.3509, allocations: 0 / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.89e-05/0.351, allocations: 41.55 kB / 0.9603 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.3511, allocations: 126.7 kB / 0.9605 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3512, allocations: 129.8 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3513, allocations: 25.7 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.3513, allocations: 92.12 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.3513, allocations: 0 / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3514, allocations: 17.72 kB / 0.9607 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3515, allocations: 322.8 kB / 0.961 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.3515, allocations: 4 kB / 0.961 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.3516, allocations: 4 kB / 0.961 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.3516, allocations: 8.859 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3516, allocations: 4 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.3518, allocations: 61.47 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3518, allocations: 4 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.3518, allocations: 4 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3518, allocations: 0 / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.3518, allocations: 0 / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3519, allocations: 4.062 kB / 0.9611 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.3519, allocations: 3.938 kB / 0.9611 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3519, allocations: 7.938 kB / 0.9611 GB, free: 13.36 MB / 0.7481 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: 0 * Record equations: 1 * 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.0001124/0.352, allocations: 189.2 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.3521, allocations: 116.8 kB / 0.9614 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.3522, allocations: 112.6 kB / 0.9615 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/0.3522, allocations: 184.3 kB / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-05/0.3523, allocations: 180.2 kB / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-05/0.3524, allocations: 180.2 kB / 0.962 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3526, allocations: 413.2 kB / 0.9624 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/0.3527, allocations: 108.9 kB / 0.9625 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.3527, allocations: 101 kB / 0.9626 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.442e-05/0.3528, allocations: 184.2 kB / 0.9628 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.3528, allocations: 188.2 kB / 0.963 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-05/0.3529, allocations: 180.3 kB / 0.9632 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.86e-05/0.353, allocations: 180.2 kB / 0.9633 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3531, allocations: 311.7 kB / 0.9636 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.3532, allocations: 194 kB / 0.9638 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.3533, allocations: 176.3 kB / 0.964 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.3534, allocations: 112.9 kB / 0.9641 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.3535, allocations: 176.3 kB / 0.9643 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.3535, allocations: 104.9 kB / 0.9644 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.3536, allocations: 109.8 kB / 0.9645 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3536, allocations: 0 / 0.9645 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000878/0.3545, allocations: 271.8 kB / 0.9647 GB, free: 9.445 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001427/0.3559, allocations: 0.5136 MB / 0.9652 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.356, allocations: 41.69 kB / 0.9653 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.356, allocations: 4.062 kB / 0.9653 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.356, allocations: 0 / 0.9653 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3565, allocations: 467.6 kB / 0.9657 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.3568, allocations: 277.6 kB / 0.966 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3571, allocations: 0.6807 MB / 0.9667 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.3571, allocations: 11.44 kB / 0.9667 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.3571, allocations: 0 / 0.9667 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of Templates: time 0.008121/0.3652, allocations: 4.646 MB / 0.9712 GB, free: 2.754 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches