Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 78.66 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 177 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8877/0.8877, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.633/1.633, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 0.7877 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.417e-05, allocations: 8.781 kB / 0.7877 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001484/0.001499, allocations: 1.492 MB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.004301, allocations: 2.769 MB / 0.7918 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.004323, allocations: 4.594 kB / 0.7918 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.004336, allocations: 3.938 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.004373, allocations: 21.19 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.006326, allocations: 1.643 MB / 0.7935 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.937e-05/0.006375, allocations: 47.67 kB / 0.7935 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.005e-05/0.006395, allocations: 5.625 kB / 0.7935 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.006423, allocations: 19.97 kB / 0.7935 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.277e-05/0.006436, allocations: 11.94 kB / 0.7935 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-06/0.006443, allocations: 4 kB / 0.7935 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.00766, allocations: 1.494 MB / 0.795 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.007668, allocations: 3.938 kB / 0.795 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.007681, allocations: 13.47 kB / 0.795 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.008645, allocations: 1.286 MB / 0.7963 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.008647, allocations: 0 / 0.7963 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.91e-07/0.008647, allocations: 0 / 0.7963 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.00865, allocations: 4.438 kB / 0.7963 GB, free: 3.27 MB / 0.7448 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.0003357/0.008986, allocations: 0.5696 MB / 0.7968 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.009016, allocations: 12.03 kB / 0.7968 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.009057, allocations: 124.1 kB / 0.797 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.009148, allocations: 240.4 kB / 0.7972 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.009198, allocations: 239.7 kB / 0.7974 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.009245, allocations: 238.8 kB / 0.7976 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.68e-05/0.009291, allocations: 145.5 kB / 0.7978 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.009317, allocations: 127.2 kB / 0.7979 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.009361, allocations: 242.5 kB / 0.7981 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.009406, allocations: 242.4 kB / 0.7984 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.009451, allocations: 242.3 kB / 0.7986 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.009857, allocations: 0.5686 MB / 0.7992 GB, free: 228 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.009932, allocations: 269.4 kB / 0.7994 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.009958, allocations: 126.9 kB / 0.7995 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.00998, allocations: 119.2 kB / 0.7996 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.01002, allocations: 156.5 kB / 0.7998 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.01002, allocations: 0 / 0.7998 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 5.102e-05/0.01007, allocations: 34.81 kB / 0.7998 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.01011, allocations: 174.6 kB / 0.8 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.01019, allocations: 196 kB / 0.8002 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.0102, allocations: 26.7 kB / 0.8002 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.01024, allocations: 138.9 kB / 0.8003 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.72e-07/0.01024, allocations: 1.062 kB / 0.8003 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.01026, allocations: 27.41 kB / 0.8004 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.01036, allocations: 0.4923 MB / 0.8009 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.01037, allocations: 1.125 kB / 0.8009 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.01038, allocations: 4 kB / 0.8009 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.0104, allocations: 15.62 kB / 0.8009 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.0104, allocations: 5.219 kB / 0.8009 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.596e-05/0.01047, allocations: 53.64 kB / 0.8009 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.01048, allocations: 4 kB / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.01049, allocations: 5.625 kB / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.0105, allocations: 0 / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.776e-06/0.0105, allocations: 3.938 kB / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.0105, allocations: 3.938 kB / 0.8009 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.01051, allocations: 4.781 kB / 0.8009 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.01052, allocations: 0 / 0.8009 GB, free: 14.29 MB / 0.7605 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 6.681e-05/0.01058, allocations: 272.3 kB / 0.8012 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.01062, allocations: 157.9 kB / 0.8014 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.01067, allocations: 160.7 kB / 0.8015 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/0.01071, allocations: 268 kB / 0.8018 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-05/0.01076, allocations: 268.1 kB / 0.802 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.01081, allocations: 272 kB / 0.8023 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.01095, allocations: 492.6 kB / 0.8028 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/0.01099, allocations: 148.9 kB / 0.8029 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.01102, allocations: 148.8 kB / 0.803 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/0.01107, allocations: 272.1 kB / 0.8033 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.01112, allocations: 268.1 kB / 0.8036 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.781e-05/0.01116, allocations: 268 kB / 0.8038 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.214e-05/0.01122, allocations: 264.1 kB / 0.8041 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.979e-05/0.01132, allocations: 455.8 kB / 0.8045 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.01135, allocations: 152.8 kB / 0.8046 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.01141, allocations: 276 kB / 0.8049 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.01145, allocations: 144.9 kB / 0.805 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.01151, allocations: 276 kB / 0.8053 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.01153, allocations: 148.9 kB / 0.8054 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.01157, allocations: 141.4 kB / 0.8056 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01157, allocations: 0 / 0.8056 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003779/0.01195, allocations: 295 kB / 0.8059 GB, free: 9.066 MB / 0.7605 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.0008529/0.0128, allocations: 0.6454 MB / 0.8065 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 5.971e-05/0.01286, allocations: 49.33 kB / 0.8065 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01286, allocations: 0 / 0.8065 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01286, allocations: 0 / 0.8065 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01314, allocations: 0.7218 MB / 0.8072 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.01332, allocations: 273.2 kB / 0.8075 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.488e-05/0.01334, allocations: 59.34 kB / 0.8076 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.236e-06/0.01335, allocations: 0 / 0.8076 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.01339, allocations: 82.19 kB / 0.8076 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of SimCode: time 4.31e-07/0.01339, allocations: 0 / 0.8076 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of Templates: time 0.007313/0.0207, allocations: 7.349 MB / 0.8148 GB, free: 15.87 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.753066102042794]