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.001323/0.001323, allocations: 82.64 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.001523/0.001523, allocations: 181 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.9039/0.9039, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.743/1.743, allocations: 377.9 MB / 0.624 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.422e-06/1.422e-06, allocations: 0 / 0.812 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.251e-05, allocations: 2.312 kB / 0.812 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.00137/0.001393, allocations: 0.5707 MB / 0.8126 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002619, allocations: 1.066 MB / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.002641, allocations: 0 / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.002657, allocations: 1.406 kB / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.003253, allocations: 119.7 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.596e-05/0.003279, allocations: 8.781 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.014e-05/0.00332, allocations: 7.984 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.003361, allocations: 5 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.003391, allocations: 3.938 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.003553, allocations: 47.89 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.003564, allocations: 0.5625 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.00374, allocations: 112.4 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.003748, allocations: 0 / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.12e-05/0.003759, allocations: 5.25 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.003926, allocations: 119.6 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003927, allocations: 0 / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003928, allocations: 2.406 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003932, allocations: 0 / 0.814 GB, free: 15.34 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.0002456/0.004177, allocations: 360.2 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.004214, allocations: 16.02 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.004241, allocations: 4.938 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.006263, allocations: 109 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006277, allocations: 0.9375 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.006285, allocations: 384 / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/0.006362, allocations: 39.73 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.006367, allocations: 192 / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.006374, allocations: 4.125 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006378, allocations: 0 / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.021e-05/0.006389, allocations: 9.266 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.006662, allocations: 462.8 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.006736, allocations: 265.4 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.006771, allocations: 135.3 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.006797, allocations: 119.7 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.007008, allocations: 153.5 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.007009, allocations: 0 / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.222e-05/0.007061, allocations: 33.64 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.007111, allocations: 171.4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.007199, allocations: 165.8 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.007207, allocations: 26.23 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.007252, allocations: 136.2 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.007255, allocations: 0 / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.00728, allocations: 15.38 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007393, allocations: 0.4923 MB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-06/0.007399, allocations: 5.094 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.007404, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.007431, allocations: 12.42 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007433, allocations: 4 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.66e-05/0.00751, allocations: 34.33 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.007522, allocations: 8.625 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.007529, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.007542, allocations: 1.25 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.386e-05/0.007556, allocations: 4 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.007559, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-06/0.007568, allocations: 0.8438 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.007572, allocations: 3.938 kB / 0.8167 GB, free: 12.4 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 8.069e-05/0.007652, allocations: 277.4 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.007702, allocations: 148.9 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.007761, allocations: 152 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/0.00783, allocations: 272 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-05/0.007893, allocations: 265 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-05/0.007961, allocations: 272 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.008152, allocations: 480.5 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-05/0.008204, allocations: 148.3 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.008257, allocations: 153 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.00834, allocations: 264.1 kB / 0.819 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.008426, allocations: 272 kB / 0.8193 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-05/0.008509, allocations: 268.1 kB / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.628e-05/0.008585, allocations: 280 kB / 0.8198 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.008717, allocations: 443.9 kB / 0.8203 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.008759, allocations: 156.8 kB / 0.8204 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.008833, allocations: 268.3 kB / 0.8207 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.008894, allocations: 149.4 kB / 0.8208 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.008969, allocations: 277.9 kB / 0.8211 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.009008, allocations: 144.9 kB / 0.8212 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.009057, allocations: 131.2 kB / 0.8213 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009057, allocations: 3.938 kB / 0.8213 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001892/0.009246, allocations: 23.94 kB / 0.8214 GB, free: 7.48 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.0003498/0.009596, allocations: 290 kB / 0.8216 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.009661, allocations: 16.52 kB / 0.8216 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.009665, allocations: 4 kB / 0.8217 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.009666, allocations: 0 / 0.8217 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.009985, allocations: 0.707 MB / 0.8223 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.01038, allocations: 274.8 kB / 0.8226 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.023e-05/0.01041, allocations: 51.36 kB / 0.8227 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.01044, allocations: 6.906 kB / 0.8227 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.01049, allocations: 70.2 kB / 0.8227 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.01049, allocations: 3.094 kB / 0.8227 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of Templates: time 0.002857/0.01335, allocations: 0.9902 MB / 0.8237 GB, free: 5.09 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.759811617899686]