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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001754/0.001754, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.248/2.248, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.77 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003691/0.307, allocations: 1.428 MB / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.3116, allocations: 2.855 MB / 0.9545 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.3116, allocations: 0 / 0.9545 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.3117, allocations: 3.938 kB / 0.9545 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.3118, allocations: 11.86 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.3161, allocations: 1.549 MB / 0.956 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.3162, allocations: 43.67 kB / 0.9561 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.3163, allocations: 7.938 kB / 0.9561 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.3163, allocations: 23.92 kB / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.957e-05/0.3163, allocations: 11.94 kB / 0.9561 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3164, allocations: 0 / 0.9561 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.3187, allocations: 1.423 MB / 0.9575 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.3187, allocations: 11.92 kB / 0.9575 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3188, allocations: 15.88 kB / 0.9575 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.3207, allocations: 1.072 MB / 0.9586 GB, free: 376 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3207, allocations: 0 / 0.9586 GB, free: 376 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3208, allocations: 0 / 0.9586 GB, free: 376 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3208, allocations: 4 kB / 0.9586 GB, free: 372 kB / 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.0007746/0.3216, allocations: 0.503 MB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3216, allocations: 12.03 kB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.3217, allocations: 84.11 kB / 0.9592 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3218, allocations: 251.5 kB / 0.9594 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.3219, allocations: 158.9 kB / 0.9596 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.3219, allocations: 154.9 kB / 0.9597 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.352e-05/0.322, allocations: 109.1 kB / 0.9598 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.322, allocations: 75.28 kB / 0.9599 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.3221, allocations: 150.6 kB / 0.96 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.3221, allocations: 150.6 kB / 0.9602 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.3222, allocations: 150.6 kB / 0.9603 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.3225, allocations: 465.9 kB / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.3226, allocations: 177.1 kB / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.3226, allocations: 84.19 kB / 0.961 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3226, allocations: 75.28 kB / 0.9611 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.3227, allocations: 121.8 kB / 0.9612 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3227, allocations: 0 / 0.9612 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.315e-05/0.3228, allocations: 37.55 kB / 0.9612 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3229, allocations: 126.7 kB / 0.9614 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.323, allocations: 128.3 kB / 0.9615 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.323, allocations: 25.7 kB / 0.9615 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.3231, allocations: 92.14 kB / 0.9616 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.3231, allocations: 0 / 0.9616 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3231, allocations: 25.64 kB / 0.9616 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3232, allocations: 314.8 kB / 0.9619 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.3233, allocations: 4 kB / 0.9619 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.3233, allocations: 11.98 kB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.3233, allocations: 12.84 kB / 0.9619 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3233, allocations: 0 / 0.9619 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.3235, allocations: 57.48 kB / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3235, allocations: 4 kB / 0.962 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3235, allocations: 64 / 0.962 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3235, allocations: 8 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-06/0.3235, allocations: 3.984 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3236, allocations: 0 / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.3236, allocations: 3.938 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.3236, allocations: 0 / 0.962 GB, free: 12.62 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 8.758e-05/0.3237, allocations: 185.1 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.3237, allocations: 108.8 kB / 0.9623 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.3238, allocations: 124.6 kB / 0.9624 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.915e-05/0.3239, allocations: 180.2 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.3239, allocations: 184.2 kB / 0.9628 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.022e-05/0.324, allocations: 176.3 kB / 0.9629 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.3242, allocations: 409.2 kB / 0.9633 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-05/0.3242, allocations: 112.9 kB / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.3243, allocations: 112.9 kB / 0.9635 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.693e-05/0.3243, allocations: 180.2 kB / 0.9637 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.3244, allocations: 176.3 kB / 0.9639 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.743e-05/0.3245, allocations: 184.3 kB / 0.964 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.113e-05/0.3245, allocations: 180.2 kB / 0.9642 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.3246, allocations: 319.7 kB / 0.9645 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.3247, allocations: 186 kB / 0.9647 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.3248, allocations: 176.3 kB / 0.9649 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.3249, allocations: 112.9 kB / 0.965 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.325, allocations: 180.3 kB / 0.9652 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.325, allocations: 108.9 kB / 0.9653 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.3251, allocations: 97.77 kB / 0.9653 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3251, allocations: 0 / 0.9653 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008176/0.3259, allocations: 275.8 kB / 0.9656 GB, free: 8.707 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.001375/0.3273, allocations: 0.5235 MB / 0.9661 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3274, allocations: 37.7 kB / 0.9662 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3274, allocations: 0 / 0.9662 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3274, allocations: 0 / 0.9662 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3278, allocations: 471.6 kB / 0.9666 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.3282, allocations: 273.7 kB / 0.9669 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3285, allocations: 0.6807 MB / 0.9675 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.3285, allocations: 7.438 kB / 0.9675 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of SimCode: time 1.803e-06/0.3285, allocations: 0 / 0.9675 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of Templates: time 0.008354/0.3369, allocations: 4.657 MB / 0.9721 GB, free: 2.004 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg,time,x