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.001755/0.001755, allocations: 105.2 kB / 16.41 MB, free: 6.508 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.002008/0.002008, allocations: 187 kB / 17.34 MB, free: 5.742 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.16 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.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.169, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002699/1.172, allocations: 1.422 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004536/1.177, allocations: 2.844 MB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/1.177, allocations: 0.8438 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/1.177, allocations: 5.391 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/1.177, allocations: 16.2 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/1.181, allocations: 1.561 MB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/1.182, allocations: 36.73 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/1.182, allocations: 11.27 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/1.182, allocations: 12.48 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/1.182, allocations: 21.2 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/1.182, allocations: 1.25 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/1.185, allocations: 1.491 MB / 1.096 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/1.185, allocations: 2.312 kB / 1.096 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/1.185, allocations: 20.77 kB / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/1.187, allocations: 1.067 MB / 1.097 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.187, allocations: 0 / 1.097 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.905e-06/1.187, allocations: 0 / 1.097 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.187, allocations: 1.094 kB / 1.097 GB, free: 0.9688 MB / 0.8575 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.0006317/1.188, allocations: 0.5124 MB / 1.098 GB, free: 496 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.188, allocations: 9.688 kB / 1.098 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/1.188, allocations: 87.16 kB / 1.098 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.188, allocations: 256.8 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/1.188, allocations: 151.9 kB / 1.098 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/1.188, allocations: 152.6 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.316e-05/1.188, allocations: 109.1 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/1.188, allocations: 84.86 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/1.188, allocations: 150.6 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/1.188, allocations: 151.6 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/1.188, allocations: 155.2 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/1.189, allocations: 465.1 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/1.189, allocations: 166.4 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/1.189, allocations: 85.27 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/1.189, allocations: 75.84 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/1.189, allocations: 115.7 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.189, allocations: 0 / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.568e-05/1.189, allocations: 35.73 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/1.189, allocations: 128.1 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/1.189, allocations: 133.4 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/1.189, allocations: 25.7 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/1.189, allocations: 92.16 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.189, allocations: 0.9375 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/1.189, allocations: 22.28 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.19, allocations: 315.2 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/1.19, allocations: 11.55 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.663e-05/1.19, allocations: 3.609 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/1.19, allocations: 11.12 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.19, allocations: 3.938 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/1.19, allocations: 48.97 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.19, allocations: 6.5 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.19, allocations: 2.719 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.19, allocations: 5.906 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/1.19, allocations: 0 / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.19, allocations: 0.6562 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/1.19, allocations: 3.906 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/1.19, allocations: 6.188 kB / 1.1 GB, free: 13.42 MB / 0.8731 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.0001099/1.19, allocations: 185.4 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/1.19, allocations: 120.5 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/1.19, allocations: 108.3 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.924e-05/1.19, allocations: 186.6 kB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-05/1.19, allocations: 182.5 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.943e-05/1.19, allocations: 176.8 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/1.191, allocations: 417 kB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-05/1.191, allocations: 106.3 kB / 1.102 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/1.191, allocations: 106.6 kB / 1.102 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.594e-05/1.191, allocations: 181.9 kB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/1.191, allocations: 178.7 kB / 1.102 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/1.191, allocations: 185.8 kB / 1.102 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.863e-05/1.191, allocations: 181.8 kB / 1.103 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/1.191, allocations: 310.3 kB / 1.103 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/1.191, allocations: 194 kB / 1.103 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/1.191, allocations: 182.4 kB / 1.103 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/1.191, allocations: 102.6 kB / 1.103 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/1.192, allocations: 178 kB / 1.104 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/1.192, allocations: 110.5 kB / 1.104 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.344e-05/1.192, allocations: 97.89 kB / 1.104 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.192, allocations: 1.188 kB / 1.104 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001158/1.193, allocations: 276.3 kB / 1.104 GB, free: 9.785 MB / 0.8731 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.001264/1.194, allocations: 0.5331 MB / 1.105 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001137/1.194, allocations: 43.02 kB / 1.105 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.194, allocations: 0 / 1.105 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-06/1.194, allocations: 5.094 kB / 1.105 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/1.195, allocations: 465 kB / 1.105 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/1.195, allocations: 259.2 kB / 1.105 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.195, allocations: 0.6805 MB / 1.106 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/1.195, allocations: 9.891 kB / 1.106 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/1.195, allocations: 0.75 kB / 1.106 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.0126/1.208, allocations: 4.607 MB / 1.11 GB, free: 7.613 MB / 0.8731 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