Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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: 80.39 kB / 21.47 MB, free: 3.031 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.001015/0.001015, allocations: 171.3 kB / 24.87 MB, free: 8.891 MB / 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.935/0.935, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.827/1.827, allocations: 377.9 MB / 0.6247 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.18e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.0016/0.001622, allocations: 0.5715 MB / 0.8134 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003142, allocations: 1.071 MB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.003164, allocations: 0 / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.003181, allocations: 1.531 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.003874, allocations: 111.8 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.997e-05/0.003914, allocations: 15.86 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.00396, allocations: 9.625 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.003998, allocations: 0 / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.004022, allocations: 4 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.004193, allocations: 43.94 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.004204, allocations: 1.375 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.004402, allocations: 111.8 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.004413, allocations: 3.938 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.109e-05/0.004424, allocations: 3.938 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004618, allocations: 121.4 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00462, allocations: 4 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00462, allocations: 0 / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004625, allocations: 0 / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002806/0.004905, allocations: 361.6 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.004942, allocations: 8.031 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.004968, allocations: 4.938 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.005059, allocations: 113 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.00507, allocations: 4.875 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.005076, allocations: 2.281 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.498e-05/0.005131, allocations: 30.27 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.005138, allocations: 192 / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.005145, allocations: 4.125 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.005152, allocations: 4 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-06/0.005159, allocations: 6.344 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.005458, allocations: 466.7 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.005551, allocations: 269.4 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.005585, allocations: 130.9 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.005614, allocations: 119.2 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.005662, allocations: 153.3 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.005664, allocations: 0 / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.874e-05/0.005722, allocations: 38.11 kB / 0.8165 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.005783, allocations: 174.6 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.005876, allocations: 163.5 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.005885, allocations: 29.7 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.005928, allocations: 126.9 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.00593, allocations: 0 / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.005961, allocations: 20.02 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.006089, allocations: 496.1 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.006094, allocations: 1.25 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.0061, allocations: 0 / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.006128, allocations: 20.83 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.00613, allocations: 3.938 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.386e-05/0.006214, allocations: 33.7 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.006229, allocations: 15.75 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006234, allocations: 0 / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.006244, allocations: 3.984 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-05/0.006258, allocations: 0.5625 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.00626, allocations: 0.7812 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.006272, allocations: 0 / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006277, allocations: 0.8438 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 9.047e-05/0.006368, allocations: 275.8 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.006428, allocations: 150.6 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.006478, allocations: 156 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/0.006542, allocations: 268.1 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.891e-05/0.006611, allocations: 268 kB / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-05/0.006682, allocations: 272.1 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.006884, allocations: 477.3 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/0.006927, allocations: 148.9 kB / 0.8194 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.006967, allocations: 151.2 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/0.007035, allocations: 272 kB / 0.8198 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.007103, allocations: 264.1 kB / 0.8201 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.745e-05/0.007171, allocations: 272 kB / 0.8203 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.739e-05/0.007238, allocations: 272 kB / 0.8206 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.007388, allocations: 451.9 kB / 0.821 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.007434, allocations: 150.9 kB / 0.8212 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.007607, allocations: 268.3 kB / 0.8214 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.007685, allocations: 156.9 kB / 0.8216 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.007754, allocations: 275.9 kB / 0.8218 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.007789, allocations: 144.9 kB / 0.822 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.007832, allocations: 127.7 kB / 0.8221 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007832, allocations: 0 / 0.8221 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002946/0.008127, allocations: 28.8 kB / 0.8221 GB, free: 7.504 MB / 0.7761 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.0003508/0.008478, allocations: 289.1 kB / 0.8224 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.896e-05/0.008537, allocations: 9.031 kB / 0.8224 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008539, allocations: 4 kB / 0.8224 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.008542, allocations: 3.938 kB / 0.8224 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.008917, allocations: 0.7108 MB / 0.8231 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.009243, allocations: 266.2 kB / 0.8234 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.009276, allocations: 58.92 kB / 0.8234 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.009306, allocations: 0 / 0.8234 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.009352, allocations: 74.19 kB / 0.8235 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.009353, allocations: 0 / 0.8235 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of Templates: time 0.003072/0.01242, allocations: 0.9989 MB / 0.8245 GB, free: 5.098 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.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: 5.047588638029993]