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.001418/0.001418, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001593/0.001593, allocations: 177 kB / 23.49 MB, free: 1.059 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.9406/0.9406, allocations: 177.1 MB / 203.8 MB, free: 5.645 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 1.986/1.986, allocations: 429.5 MB / 0.6736 GB, free: 4.07 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 2.374e-06/2.374e-06, allocations: 0 / 0.8782 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.658e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002063/0.0021, allocations: 0.5637 MB / 0.8788 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.003719, allocations: 1.073 MB / 0.8798 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.003755, allocations: 0 / 0.8798 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.003775, allocations: 3.688 kB / 0.8798 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0008182/0.004594, allocations: 119.3 kB / 0.8799 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.649e-05/0.00464, allocations: 11.92 kB / 0.8799 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.004702, allocations: 4.766 kB / 0.8799 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.004757, allocations: 4 kB / 0.88 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.004796, allocations: 7.938 kB / 0.88 GB, free: 3.738 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.005048, allocations: 53.42 kB / 0.88 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.005063, allocations: 0 / 0.88 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.005291, allocations: 109.5 kB / 0.8801 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.005304, allocations: 0 / 0.8801 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.005329, allocations: 4 kB / 0.8801 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.005575, allocations: 119.7 kB / 0.8802 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.00558, allocations: 0 / 0.8802 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.653e-06/0.005582, allocations: 0.9688 kB / 0.8802 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.005588, allocations: 0 / 0.8802 GB, free: 3.461 MB / 0.7917 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.0003983/0.005987, allocations: 361.6 kB / 0.8806 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.006038, allocations: 12.03 kB / 0.8806 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.006091, allocations: 4.891 kB / 0.8806 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.006216, allocations: 117.7 kB / 0.8807 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.006231, allocations: 384 / 0.8807 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.006242, allocations: 384 / 0.8807 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.777e-05/0.006339, allocations: 35.3 kB / 0.8807 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006349, allocations: 192 / 0.8807 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006362, allocations: 5.031 kB / 0.8807 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.006371, allocations: 0 / 0.8807 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.496e-05/0.006386, allocations: 0 / 0.8807 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.006836, allocations: 486.9 kB / 0.8812 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.006939, allocations: 265.4 kB / 0.8815 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.006983, allocations: 132.5 kB / 0.8816 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.007016, allocations: 123.2 kB / 0.8817 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.007073, allocations: 160.5 kB / 0.8819 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.007074, allocations: 0 / 0.8819 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 8.642e-05/0.007161, allocations: 30.19 kB / 0.8819 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.007283, allocations: 176.4 kB / 0.8821 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007412, allocations: 157.9 kB / 0.8822 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.007424, allocations: 29.64 kB / 0.8822 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.007479, allocations: 134.9 kB / 0.8824 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.007482, allocations: 0 / 0.8824 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.007521, allocations: 20.72 kB / 0.8824 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.00766, allocations: 492.1 kB / 0.8829 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.007675, allocations: 4 kB / 0.8829 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-06/0.007685, allocations: 1.062 kB / 0.8829 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.007723, allocations: 11.69 kB / 0.8829 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007725, allocations: 1.594 kB / 0.8829 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001336/0.007859, allocations: 49.58 kB / 0.8829 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.007877, allocations: 4 kB / 0.8829 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.007884, allocations: 0 / 0.8829 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.0079, allocations: 6.469 kB / 0.8829 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.547e-05/0.007925, allocations: 4 kB / 0.8829 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.007931, allocations: 0 / 0.8829 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.007949, allocations: 0 / 0.8829 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.007956, allocations: 0 / 0.8829 GB, free: 0.5 MB / 0.7917 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.0001065/0.008062, allocations: 271.8 kB / 0.8832 GB, free: 228 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.008132, allocations: 158.9 kB / 0.8833 GB, free: 64 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.00823, allocations: 156 kB / 0.8835 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.409e-05/0.008304, allocations: 272.1 kB / 0.8838 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.096e-05/0.008375, allocations: 264.1 kB / 0.884 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/0.008448, allocations: 268 kB / 0.8843 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.008663, allocations: 495.9 kB / 0.8847 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.552e-05/0.008708, allocations: 156.9 kB / 0.8849 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.008751, allocations: 148.9 kB / 0.885 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.367e-05/0.008825, allocations: 264.1 kB / 0.8853 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.008905, allocations: 272 kB / 0.8855 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001731/0.009078, allocations: 272.1 kB / 0.8858 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.846e-05/0.009147, allocations: 268 kB / 0.886 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.009312, allocations: 440 kB / 0.8865 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.009366, allocations: 157.1 kB / 0.8866 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.009461, allocations: 268 kB / 0.8869 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.009545, allocations: 152.9 kB / 0.887 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.00963, allocations: 272.1 kB / 0.8873 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.009675, allocations: 148.9 kB / 0.8874 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.009736, allocations: 135 kB / 0.8875 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.009736, allocations: 0 / 0.8875 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003285/0.01006, allocations: 27.88 kB / 0.8876 GB, free: 11.54 MB / 0.8073 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.0005712/0.01064, allocations: 280.7 kB / 0.8878 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.01074, allocations: 19.69 kB / 0.8879 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.01074, allocations: 0 / 0.8879 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.01074, allocations: 3.984 kB / 0.8879 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.01117, allocations: 0.7141 MB / 0.8886 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.01174, allocations: 273.4 kB / 0.8888 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01179, allocations: 59.33 kB / 0.8889 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.01183, allocations: 8.062 kB / 0.8889 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.01186, allocations: 8.5 kB / 0.8889 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of SimCode: time 1.713e-06/0.01186, allocations: 4 kB / 0.8889 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of Templates: time 0.003791/0.01566, allocations: 0.8156 MB / 0.8897 GB, free: 9.352 MB / 0.8073 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.4511005179956555]