Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001734/0.001734, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001693/0.001693, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 59.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.192, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002725/1.194, allocations: 1.439 MB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004547/1.199, allocations: 2.853 MB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/1.199, allocations: 0 / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/1.199, allocations: 7.922 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/1.199, allocations: 11.86 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/1.203, allocations: 1.574 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/1.203, allocations: 35.8 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/1.203, allocations: 7.797 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/1.203, allocations: 11.94 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/1.203, allocations: 23.86 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/1.203, allocations: 4 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/1.206, allocations: 1.49 MB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/1.206, allocations: 4 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/1.206, allocations: 15.88 kB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/1.207, allocations: 1.078 MB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.207, allocations: 0 / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.624e-06/1.207, allocations: 0 / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.207, allocations: 0 / 1.176 GB, free: 11.28 MB / 0.9044 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.0006726/1.208, allocations: 0.5262 MB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.208, allocations: 12.03 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/1.208, allocations: 80.22 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/1.208, allocations: 247.5 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/1.208, allocations: 154.9 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/1.208, allocations: 154.9 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.411e-05/1.208, allocations: 105.1 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/1.208, allocations: 79.28 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/1.208, allocations: 154.6 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/1.208, allocations: 158.5 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/1.208, allocations: 150.6 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/1.209, allocations: 465.8 kB / 1.178 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/1.209, allocations: 169.1 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/1.209, allocations: 80.14 kB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/1.209, allocations: 79.22 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/1.209, allocations: 113.8 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.788e-06/1.209, allocations: 0 / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.504e-05/1.209, allocations: 37.64 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.209, allocations: 126.7 kB / 1.179 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.209, allocations: 132.5 kB / 1.179 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/1.209, allocations: 25.7 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/1.209, allocations: 96.12 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/1.209, allocations: 0 / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/1.209, allocations: 13.72 kB / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.21, allocations: 322.8 kB / 1.179 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/1.21, allocations: 3.984 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/1.21, allocations: 7.969 kB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/1.21, allocations: 16.86 kB / 1.179 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.21, allocations: 0 / 1.179 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/1.21, allocations: 45.64 kB / 1.179 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.21, allocations: 7.984 kB / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.21, allocations: 4 kB / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.21, allocations: 0 / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/1.21, allocations: 0 / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.21, allocations: 4.062 kB / 1.179 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/1.21, allocations: 7.906 kB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/1.21, allocations: 0 / 1.179 GB, free: 7.531 MB / 0.9044 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.0001123/1.21, allocations: 181.1 kB / 1.179 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/1.21, allocations: 116.9 kB / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/1.21, allocations: 116.8 kB / 1.18 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-05/1.21, allocations: 188.3 kB / 1.18 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.507e-05/1.21, allocations: 180.3 kB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.7e-05/1.211, allocations: 176.3 kB / 1.18 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/1.211, allocations: 421.1 kB / 1.18 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/1.211, allocations: 104.9 kB / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/1.211, allocations: 104.9 kB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/1.211, allocations: 192.2 kB / 1.181 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/1.211, allocations: 176.3 kB / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.277e-05/1.211, allocations: 180.2 kB / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.317e-05/1.211, allocations: 180.2 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/1.211, allocations: 315.7 kB / 1.182 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/1.211, allocations: 185.9 kB / 1.182 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/1.212, allocations: 188.2 kB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/1.212, allocations: 108.9 kB / 1.182 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/1.212, allocations: 180.2 kB / 1.182 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.212, allocations: 105 kB / 1.182 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.692e-05/1.212, allocations: 101.8 kB / 1.183 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 0 / 1.183 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007459/1.213, allocations: 279.8 kB / 1.183 GB, free: 3.602 MB / 0.9044 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.001002/1.214, allocations: 0.5105 MB / 1.183 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001156/1.214, allocations: 41.64 kB / 1.183 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.214, allocations: 0 / 1.183 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/1.214, allocations: 8 kB / 1.183 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/1.214, allocations: 467.6 kB / 1.184 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/1.215, allocations: 267.9 kB / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.215, allocations: 0.6885 MB / 1.185 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/1.215, allocations: 7.438 kB / 1.185 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.215, allocations: 0 / 1.185 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of Templates: time 0.007633/1.222, allocations: 4.632 MB / 1.189 GB, free: 12.93 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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