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.InternalResistancesTwoUTube.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001218/0.001218, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.666 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 0.8154 GB, free: 13.51 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8104, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001425/0.8119, allocations: 1.14 MB / 0.9556 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003985/0.8159, allocations: 2.654 MB / 0.9582 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.816, allocations: 0 / 0.9582 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.816, allocations: 0 / 0.9582 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.8161, allocations: 18.97 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.82, allocations: 1.276 MB / 0.9595 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.8201, allocations: 40.19 kB / 0.9595 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.8201, allocations: 2.75 kB / 0.9595 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.8202, allocations: 16.17 kB / 0.9595 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.8202, allocations: 14.81 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.8202, allocations: 5.375 kB / 0.9595 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.8226, allocations: 1.248 MB / 0.9608 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.8226, allocations: 1.656 kB / 0.9608 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.8227, allocations: 37.61 kB / 0.9608 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.8237, allocations: 0.6979 MB / 0.9615 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8237, allocations: 4 kB / 0.9615 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8237, allocations: 0 / 0.9615 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8237, allocations: 1.594 kB / 0.9615 GB, free: 2.789 MB / 0.7169 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.0005201/0.8243, allocations: 0.5099 MB / 0.962 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8243, allocations: 12.47 kB / 0.962 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.8244, allocations: 81.62 kB / 0.9621 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.8245, allocations: 254.3 kB / 0.9623 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.8245, allocations: 151.8 kB / 0.9625 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.8246, allocations: 150.6 kB / 0.9626 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.833e-05/0.8246, allocations: 106 kB / 0.9627 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.8247, allocations: 79.28 kB / 0.9628 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.8247, allocations: 155.6 kB / 0.9629 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.8247, allocations: 154.5 kB / 0.9631 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.8247, allocations: 151.8 kB / 0.9632 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.825, allocations: 465.8 kB / 0.9637 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.519e-05/0.825, allocations: 174.3 kB / 0.9638 GB, free: 316 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.8251, allocations: 84.14 kB / 0.9639 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.8251, allocations: 75.28 kB / 0.964 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.8251, allocations: 106.8 kB / 0.9641 GB, free: 36 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.8251, allocations: 0 / 0.9641 GB, free: 36 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.459e-05/0.8252, allocations: 37.08 kB / 0.9641 GB, free: 16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.8253, allocations: 134.6 kB / 0.9642 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.8255, allocations: 132.5 kB / 0.9644 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.8255, allocations: 26.89 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.8255, allocations: 90.34 kB / 0.9645 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.8255, allocations: 0 / 0.9645 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8256, allocations: 0 / 0.9645 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8257, allocations: 317 kB / 0.9648 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.8257, allocations: 7.438 kB / 0.9648 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.8258, allocations: 11.52 kB / 0.9648 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.8258, allocations: 4.406 kB / 0.9648 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8258, allocations: 3.938 kB / 0.9648 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001473/0.826, allocations: 52.45 kB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.826, allocations: 4.188 kB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.826, allocations: 3.625 kB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.826, allocations: 0 / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.826, allocations: 1.406 kB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.826, allocations: 7.891 kB / 0.9649 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.8261, allocations: 5.25 kB / 0.9649 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.8261, allocations: 5.172 kB / 0.9649 GB, free: 15.22 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.8262, allocations: 182.7 kB / 0.9651 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.8263, allocations: 107.7 kB / 0.9652 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.8264, allocations: 119.5 kB / 0.9653 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.298e-05/0.8265, allocations: 185.4 kB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.581e-05/0.8266, allocations: 184.2 kB / 0.9656 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.723e-05/0.8266, allocations: 185.3 kB / 0.9658 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.8269, allocations: 408 kB / 0.9662 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-05/0.827, allocations: 102.2 kB / 0.9663 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.8271, allocations: 118.1 kB / 0.9664 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-05/0.8271, allocations: 181.4 kB / 0.9666 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.8272, allocations: 181.4 kB / 0.9668 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.616e-05/0.8273, allocations: 176.3 kB / 0.9669 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.18e-05/0.8274, allocations: 181.4 kB / 0.9671 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.8276, allocations: 316.9 kB / 0.9674 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.8277, allocations: 188.3 kB / 0.9676 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.8278, allocations: 177.3 kB / 0.9677 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.8279, allocations: 102.5 kB / 0.9678 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.828, allocations: 193.2 kB / 0.968 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.828, allocations: 106.2 kB / 0.9681 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.8281, allocations: 100.8 kB / 0.9682 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8281, allocations: 0 / 0.9682 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001047/0.8291, allocations: 277.9 kB / 0.9685 GB, free: 11.55 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.8302, allocations: 0.4985 MB / 0.969 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.8303, allocations: 42.3 kB / 0.969 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8303, allocations: 0 / 0.969 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.8304, allocations: 1.375 kB / 0.969 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.8309, allocations: 0.5299 MB / 0.9695 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.8312, allocations: 256.2 kB / 0.9698 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.8315, allocations: 0.685 MB / 0.9704 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.8315, allocations: 1.094 kB / 0.9704 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.8315, allocations: 13.56 kB / 0.9705 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8315, allocations: 0 / 0.9705 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of Templates: time 0.01082/0.8423, allocations: 5.61 MB / 0.9759 GB, free: 6.852 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches