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.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.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.007179/0.007179, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001388/0.001388, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.45/2.45, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001543, allocations: 67.91 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9074/0.909, allocations: 140.3 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002609/0.9117, allocations: 1.488 MB / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.9156, allocations: 2.957 MB / 0.954 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.9157, allocations: 0 / 0.954 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.9157, allocations: 3.984 kB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.9158, allocations: 13.31 kB / 0.954 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.9192, allocations: 1.391 MB / 0.9554 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.854e-05/0.9193, allocations: 36.84 kB / 0.9554 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.9194, allocations: 6.859 kB / 0.9554 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.9194, allocations: 11.91 kB / 0.9554 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.9194, allocations: 14.66 kB / 0.9554 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.9195, allocations: 1.375 kB / 0.9554 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.9214, allocations: 1.429 MB / 0.9568 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.9215, allocations: 13.33 kB / 0.9568 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.9215, allocations: 22.73 kB / 0.9568 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.9225, allocations: 0.7581 MB / 0.9576 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9226, allocations: 0 / 0.9576 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9226, allocations: 0 / 0.9576 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.9226, allocations: 0 / 0.9576 GB, free: 3.605 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.0005063/0.9231, allocations: 0.5164 MB / 0.9581 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9231, allocations: 9.625 kB / 0.9581 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.9232, allocations: 85.5 kB / 0.9582 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.9233, allocations: 253.4 kB / 0.9584 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.9233, allocations: 152.3 kB / 0.9586 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.9234, allocations: 154.9 kB / 0.9587 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.578e-05/0.9234, allocations: 106.5 kB / 0.9588 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.9234, allocations: 79.22 kB / 0.9589 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.9235, allocations: 154.6 kB / 0.959 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.9235, allocations: 151.9 kB / 0.9592 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.9235, allocations: 150.6 kB / 0.9593 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.9237, allocations: 462.2 kB / 0.9598 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.9238, allocations: 174.5 kB / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.9238, allocations: 84.08 kB / 0.96 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.9238, allocations: 75.28 kB / 0.9601 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.9238, allocations: 111.2 kB / 0.9602 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.9239, allocations: 0 / 0.9602 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.291e-05/0.9239, allocations: 36.34 kB / 0.9602 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.924, allocations: 130.7 kB / 0.9604 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.9241, allocations: 136.4 kB / 0.9605 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.9241, allocations: 27.8 kB / 0.9605 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.9241, allocations: 85.61 kB / 0.9606 GB, free: 444 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.9241, allocations: 0 / 0.9606 GB, free: 444 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.9242, allocations: 18.69 kB / 0.9606 GB, free: 424 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.9242, allocations: 316 kB / 0.9609 GB, free: 100 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.9243, allocations: 11.28 kB / 0.9609 GB, free: 92 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.9243, allocations: 7.656 kB / 0.9609 GB, free: 88 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.9243, allocations: 9.234 kB / 0.9609 GB, free: 80 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9243, allocations: 0 / 0.9609 GB, free: 80 kB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.9245, allocations: 55.16 kB / 0.961 GB, free: 32 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.9245, allocations: 9.594 kB / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.9245, allocations: 1.812 kB / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9245, allocations: 1.156 kB / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.9245, allocations: 0 / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.9245, allocations: 0 / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.9246, allocations: 1.156 kB / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.9246, allocations: 9.844 kB / 0.961 GB, free: 20 kB / 0.7169 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.000147/0.9247, allocations: 194.1 kB / 0.9612 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.9248, allocations: 112 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.9249, allocations: 111 kB / 0.9614 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.632e-05/0.925, allocations: 181.2 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.946e-05/0.925, allocations: 181.3 kB / 0.9618 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/0.9251, allocations: 193.2 kB / 0.9619 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.9254, allocations: 407.8 kB / 0.9623 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.9254, allocations: 104.9 kB / 0.9624 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.9254, allocations: 110.2 kB / 0.9625 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.511e-05/0.9255, allocations: 185.1 kB / 0.9627 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/0.9256, allocations: 189.3 kB / 0.9629 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.835e-05/0.9257, allocations: 177.5 kB / 0.9631 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.219e-05/0.9257, allocations: 177.4 kB / 0.9632 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.9259, allocations: 309.2 kB / 0.9635 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.926, allocations: 196.2 kB / 0.9637 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.9261, allocations: 177.3 kB / 0.9639 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.9262, allocations: 101.9 kB / 0.964 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.9262, allocations: 189 kB / 0.9642 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.9263, allocations: 101.8 kB / 0.9643 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.9263, allocations: 100.2 kB / 0.9644 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9264, allocations: 0 / 0.9644 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009377/0.9273, allocations: 283.3 kB / 0.9646 GB, free: 12.34 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 (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.001217/0.9285, allocations: 0.516 MB / 0.9651 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.9286, allocations: 40.98 kB / 0.9652 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9287, allocations: 1.219 kB / 0.9652 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.9287, allocations: 0 / 0.9652 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.9291, allocations: 0.5302 MB / 0.9657 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.9295, allocations: 275.2 kB / 0.9659 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.9298, allocations: 0.6806 MB / 0.9666 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.9298, allocations: 9.656 kB / 0.9666 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9298, allocations: 0 / 0.9666 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of Templates: time 0.01054/0.9404, allocations: 4.625 MB / 0.9711 GB, free: 8.152 MB / 0.7325 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