Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00102/0.00102, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.00104/0.00104, allocations: 173 kB / 24.06 MB, free: 456 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.906/0.906, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.031/2.031, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.027e-05, allocations: 5.125 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001082/0.001102, allocations: 0.5722 MB / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002196, allocations: 1.068 MB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.002221, allocations: 1.594 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.002238, allocations: 4.922 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005349/0.002773, allocations: 114.1 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.222e-05/0.002795, allocations: 10.91 kB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.002844, allocations: 9.094 kB / 0.8812 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.002881, allocations: 3.984 kB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.002914, allocations: 12.64 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.003068, allocations: 41 kB / 0.8812 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.003079, allocations: 0 / 0.8812 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.003239, allocations: 111.8 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.003249, allocations: 0 / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.003262, allocations: 4.719 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.003412, allocations: 119.7 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003413, allocations: 1.656 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003414, allocations: 0 / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003418, allocations: 0 / 0.8814 GB, free: 3.941 MB / 0.8386 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.0002486/0.003666, allocations: 368.4 kB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.003701, allocations: 13.38 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.003726, allocations: 0.9375 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.003808, allocations: 116.5 kB / 0.8819 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003818, allocations: 4.375 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.003823, allocations: 384 / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.014e-05/0.003884, allocations: 34.27 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.00389, allocations: 192 / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.003896, allocations: 4.125 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.0039, allocations: 0 / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-06/0.003908, allocations: 3.984 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.004182, allocations: 462.8 kB / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.004262, allocations: 269.4 kB / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.004292, allocations: 126.9 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.004322, allocations: 127.2 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.004364, allocations: 156.6 kB / 0.8831 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.004364, allocations: 0 / 0.8831 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.59e-05/0.00441, allocations: 33.58 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.004464, allocations: 174.6 kB / 0.8833 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.004542, allocations: 157.9 kB / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-06/0.00455, allocations: 29.69 kB / 0.8834 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.004588, allocations: 130.8 kB / 0.8836 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.00459, allocations: 0 / 0.8836 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.004613, allocations: 19.38 kB / 0.8836 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.004724, allocations: 496.1 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.004729, allocations: 4 kB / 0.8841 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-06/0.004733, allocations: 4 kB / 0.8841 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.412e-05/0.004757, allocations: 11.69 kB / 0.8841 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004759, allocations: 0 / 0.8841 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.298e-05/0.004832, allocations: 41.62 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.004844, allocations: 7.938 kB / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.004847, allocations: 0 / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.004854, allocations: 0 / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.359e-05/0.004868, allocations: 0 / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004871, allocations: 4.094 kB / 0.8841 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.004881, allocations: 7.938 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.004885, allocations: 0 / 0.8841 GB, free: 0.9922 MB / 0.8386 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.12e-05/0.004966, allocations: 271.8 kB / 0.8844 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.005012, allocations: 152.9 kB / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.005058, allocations: 159.9 kB / 0.8847 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/0.005116, allocations: 264.1 kB / 0.8849 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-05/0.005186, allocations: 276 kB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.497e-05/0.005241, allocations: 264.1 kB / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.005446, allocations: 480.5 kB / 0.8859 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.005478, allocations: 152.8 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.005509, allocations: 144.9 kB / 0.8862 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.016e-05/0.005569, allocations: 272 kB / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.005627, allocations: 268.1 kB / 0.8867 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.745e-05/0.005684, allocations: 264.1 kB / 0.887 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.058e-05/0.005745, allocations: 283.9 kB / 0.8872 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.005872, allocations: 444 kB / 0.8877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.005906, allocations: 145.2 kB / 0.8878 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.005969, allocations: 272.1 kB / 0.8881 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.006021, allocations: 152.9 kB / 0.8882 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.006078, allocations: 268 kB / 0.8885 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.006114, allocations: 160.8 kB / 0.8886 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.006152, allocations: 127.2 kB / 0.8887 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006152, allocations: 0 / 0.8887 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001642/0.006316, allocations: 27.88 kB / 0.8888 GB, free: 12.06 MB / 0.8542 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.0002838/0.0066, allocations: 282.3 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.26e-05/0.006652, allocations: 15.69 kB / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006653, allocations: 0 / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.006654, allocations: 0 / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.006951, allocations: 0.7188 MB / 0.8897 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.007242, allocations: 265.6 kB / 0.89 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.007272, allocations: 59.2 kB / 0.8901 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.0073, allocations: 8.062 kB / 0.8901 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.007341, allocations: 70.14 kB / 0.8901 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.007342, allocations: 4 kB / 0.8901 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.002371/0.009713, allocations: 0.9995 MB / 0.8911 GB, free: 9.633 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.3030843157321215]