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.00167/0.00167, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001746/0.001746, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9118/0.9118, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.721/1.721, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 2.444e-06/2.444e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.098e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002121/0.002152, allocations: 0.5755 MB / 0.8121 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.003683, allocations: 1.062 MB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.003708, allocations: 0 / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.003733, allocations: 8.531 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000843/0.004576, allocations: 112.8 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.552e-05/0.004631, allocations: 19.86 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.004692, allocations: 8.938 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.004736, allocations: 4 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.004768, allocations: 0 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.005009, allocations: 49.42 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.005024, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.005244, allocations: 107.8 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.005255, allocations: 4 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.005277, allocations: 9.453 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.00551, allocations: 111.7 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.005514, allocations: 0 / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005515, allocations: 4 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.005521, allocations: 1.312 kB / 0.8136 GB, free: 15.59 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.0003696/0.005891, allocations: 364.2 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.005935, allocations: 8.031 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.005987, allocations: 1.438 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.00609, allocations: 114.1 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006104, allocations: 4.375 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.006114, allocations: 384 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.006199, allocations: 26.8 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.006207, allocations: 0.9062 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006219, allocations: 4.125 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.006229, allocations: 5.453 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.414e-05/0.006243, allocations: 8 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.006657, allocations: 482.2 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.006767, allocations: 269.4 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.006808, allocations: 131.4 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.006844, allocations: 120.2 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.006899, allocations: 156.5 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.006901, allocations: 4 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.01e-05/0.006981, allocations: 30.39 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.007051, allocations: 170.6 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.007168, allocations: 170.5 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.007178, allocations: 25.7 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.007226, allocations: 128.2 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.007229, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.007267, allocations: 23.38 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.007405, allocations: 497.9 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.007416, allocations: 32 / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.007423, allocations: 0 / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.00746, allocations: 15.69 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.007462, allocations: 2.312 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.007587, allocations: 37.58 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.007604, allocations: 8 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00761, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.007624, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.041e-05/0.007645, allocations: 3.438 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.007651, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.007667, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.007676, allocations: 7.984 kB / 0.8163 GB, free: 12.64 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 0.0001024/0.007778, allocations: 275.8 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.00785, allocations: 152.8 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.007912, allocations: 156 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/0.007983, allocations: 264.1 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.707e-05/0.00806, allocations: 276 kB / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/0.008132, allocations: 268.9 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.008362, allocations: 495.9 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/0.008404, allocations: 149.3 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.008445, allocations: 148.9 kB / 0.8184 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.663e-05/0.008532, allocations: 268.6 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.008623, allocations: 276.8 kB / 0.8189 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.93e-05/0.008692, allocations: 264.1 kB / 0.8191 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.292e-05/0.008765, allocations: 277.2 kB / 0.8194 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.008948, allocations: 447.9 kB / 0.8198 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.009006, allocations: 148.9 kB / 0.82 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.009091, allocations: 273 kB / 0.8202 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.009175, allocations: 156.8 kB / 0.8204 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.009252, allocations: 264.6 kB / 0.8206 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.009293, allocations: 154.9 kB / 0.8208 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.009345, allocations: 123.2 kB / 0.8209 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009345, allocations: 0 / 0.8209 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003095/0.009655, allocations: 31.92 kB / 0.8209 GB, free: 7.688 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.0004963/0.01015, allocations: 277.6 kB / 0.8212 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.01024, allocations: 13 kB / 0.8212 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01024, allocations: 0 / 0.8212 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.01024, allocations: 0 / 0.8212 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.01067, allocations: 0.7149 MB / 0.8219 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.01114, allocations: 272.6 kB / 0.8222 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.01118, allocations: 51.36 kB / 0.8222 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01122, allocations: 7.969 kB / 0.8222 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.01125, allocations: 16.48 kB / 0.8222 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01125, allocations: 0 / 0.8222 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of Templates: time 0.003741/0.01499, allocations: 0.9998 MB / 0.8232 GB, free: 5.359 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: 4.986690738238394]